@@ -0,0 +1,1098 @@
+package me.tomassetti.turin;%0A%0Aimport me.tomassetti.turin.util.Either;%0Aimport org.junit.Test;%0A%0Aimport static org.junit.Assert.*;%0A%0Apublic class EitherTest %7B%0A%0A    Either ok = Either.right(%22ok%22);%0A    Either ko = Either.left(%22ko%22);%0A%0A    @Test%0A    public void getRightPositive() %7B%0A        assertEquals(%22ok%22, ok.getRight());%0A    %7D%0A%0A    @Test(expected = UnsupportedOperationException.class)%0A    public void getRightNegative() %7B%0A        ko.getRight();%0A    %7D%0A%0A    @Test%0A    public void getLeftPositive() %7B%0A        assertEquals(%22ko%22, ko.getLeft());%0A    %7D%0A%0A    @Test(expected = UnsupportedOperationException.class)%0A    public void getLeftNegative() %7B%0A        ok.getLeft();%0A    %7D%0A%0A    @Test%0A    public void testIsLeft() %7B%0A        assertEquals(false, ok.isLeft());%0A        assertEquals(true, ko.isLeft());%0A    %7D%0A%0A    @Test%0A    public void testIsRight() %7B%0A        assertEquals(true, ok.isRight());%0A        assertEquals(false, ko.isRight());%0A    %7D%0A%0A    @Test%0A    public void testToString() %7B%0A        assertEquals(%22Either.right(ok)%22, ok.toString());%0A        assertEquals(%22Either.left(ko)%22, ko.toString());%0A    %7D%0A%0A%7D%0A

test Either