Binary2 Test ändern
This commit is contained in:
parent
bdbe20552e
commit
6619b73d80
@ -1,16 +1,8 @@
|
||||
class OL {
|
||||
|
||||
class Binary2 {
|
||||
|
||||
Integer m(Integer x) { return x + x; }
|
||||
|
||||
Boolean m(Boolean x) {return x || x; }
|
||||
}
|
||||
|
||||
class Binary2 {
|
||||
|
||||
main(x) {
|
||||
ol;
|
||||
ol = new OL();
|
||||
return ol.m(x);
|
||||
}
|
||||
|
||||
}
|
@ -28,7 +28,7 @@ public class BinaryTest2 {
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
SingleClassTester.compileToBytecode(rootDirectory+testFile, rootDirectory+outputFile);
|
||||
SingleClassTester.compileToBytecode(rootDirectory+testFile, rootDirectory);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -17,7 +17,6 @@ public class OverloadingTest extends BytecodeTest{
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Test
|
||||
public void testString() {
|
||||
try{
|
||||
|
Loading…
Reference in New Issue
Block a user