summaryrefslogtreecommitdiff
path: root/src/test/java/bjc/data/EitherTest.java
blob: bbf94b708f0cca5e111109a7f5baf64c2d56e1cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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);
	}

}