package org.deziras;

import org.junit.Test;

import static org.junit.Assert.*;

/**
 * Created by ice1000 on 17-7-2.
 *
 * @author ice1000
 */
public class EitherTest {
    @Test
    public void left() throws Exception {
        assertEquals(Either.left());
    }

    @Test
    public void right() throws Exception {
    }

}
@@ -240,88 +240,260 @@
 als(
-Either.left());%0A    %7D%0A%0A    @Test%0A    public void right() throws Exception %7B%0A    %7D%0A
+new Long(233L), Either.left(666).map(integer -%3E integer - 433L, Object::hashCode));%0A    %7D%0A%0A    @Test%0A    public void right() throws Exception %7B%0A        assertEquals(new Long(666L), Either.left(233).map(integer -%3E integer + 433L, Object::hashCode));%0A    %7D
 %0A%7D

test either