package nl.utwente.group10.haskell.type;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;

import org.junit.Test;

public class ConstTTest {
    @Test
    public final void testToHaskellType() {
        final ConstT integer = new ConstT("Integer");
        final ConstT integerWithArg = new ConstT("Integer", integer);

        assertEquals("Integer", integer.toHaskellType());
        assertEquals("Integer Integer", integerWithArg.toHaskellType());
    }

    @Test
    public final void testPrune() {
        final ConstT integer = new ConstT("Integer");
        final VarT a = new VarT("a", integer);

        assertNotEquals(integer, a);
        assertEquals(integer, a.prune());
    }
}
@@ -153,16 +153,43 @@
 .Test;%0A%0A
+import java.util.HashSet;%0A%0A
 public c
@@ -659,16 +659,33 @@
 arT(%22a%22,
+ new HashSet%3C%3E(),
  integer
@@ -774,8 +774,9 @@
 %0A    %7D%0A%7D
+%0A

Fix compile error