Binary2 Test ändern

This commit is contained in:
JanUlrich 2015-10-30 16:37:12 +01:00
parent bdbe20552e
commit 6619b73d80
3 changed files with 3 additions and 12 deletions

View File

@ -1,16 +1,8 @@
class OL {
class Binary2 {
Integer m(Integer x) { return x + x; } Integer m(Integer x) { return x + x; }
Boolean m(Boolean x) {return x || x; } Boolean m(Boolean x) {return x || x; }
}
class Binary2 {
main(x) {
ol;
ol = new OL();
return ol.m(x);
}
} }

View File

@ -28,7 +28,7 @@ public class BinaryTest2 {
@Test @Test
public void test() { public void test() {
SingleClassTester.compileToBytecode(rootDirectory+testFile, rootDirectory+outputFile); SingleClassTester.compileToBytecode(rootDirectory+testFile, rootDirectory);
} }
} }

View File

@ -17,7 +17,6 @@ public class OverloadingTest extends BytecodeTest{
} }
@Test @Test
public void testString() { public void testString() {
try{ try{