diff options
Diffstat (limited to 'src/test/java/org/zwobble/couscous/tests/CompilerTests.java')
| -rw-r--r-- | src/test/java/org/zwobble/couscous/tests/CompilerTests.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/test/java/org/zwobble/couscous/tests/CompilerTests.java b/src/test/java/org/zwobble/couscous/tests/CompilerTests.java index 2560695..059130c 100644 --- a/src/test/java/org/zwobble/couscous/tests/CompilerTests.java +++ b/src/test/java/org/zwobble/couscous/tests/CompilerTests.java @@ -195,6 +195,18 @@ public abstract class CompilerTests { } @Test + public void genericInterfaces() throws Exception { + assertEquals( + value("Hello"), + execTestProgram( + "generic-interface", + TypeName.of("com.example.GenericInterface"), + "value", + list(), + StringValue.REF)); + } + + @Test public void staticMethodOverloads() throws Exception { assertEquals( value(42), |
