diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2020-11-11 12:23:57 -0400 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2020-11-11 12:23:57 -0400 |
| commit | 0805c271505340c1da60a1b8920560bae73f21a9 (patch) | |
| tree | 2703917145a8e8aee7bd4ad55634c65ed688dda6 /src/test/java/bjc/data/EitherTest.java | |
| parent | d3239ea7b6945d449c0361416ab54fec6f9643e6 (diff) | |
| parent | c56a10f7c943dd9e9f04854395638babfaba6529 (diff) | |
Merge branch 'master' of https://github.com/bculkin2442/esodata
Diffstat (limited to 'src/test/java/bjc/data/EitherTest.java')
| -rw-r--r-- | src/test/java/bjc/data/EitherTest.java | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/test/java/bjc/data/EitherTest.java b/src/test/java/bjc/data/EitherTest.java new file mode 100644 index 0000000..bbf94b7 --- /dev/null +++ b/src/test/java/bjc/data/EitherTest.java @@ -0,0 +1,25 @@ +package bjc.data; + +import static org.junit.Assert.*; + +import org.junit.Test; + +/** + * Test Either + * @author Ben Culkin + * + */ +public class EitherTest { + + /** + * Do a test of Either. + */ + @Test + public void test() { + Either<String, String> left = Either.left("left"); + Either<String, String> right = Either.right("right"); + + assertNotEquals(left, right); + } + +} |
