diff --git a/test/bytecode/javFiles/Lambda.jav b/test/bytecode/javFiles/Lambda.jav index 620440cd..9c68de79 100644 --- a/test/bytecode/javFiles/Lambda.jav +++ b/test/bytecode/javFiles/Lambda.jav @@ -7,8 +7,8 @@ public class Lambda { var lam1 = (x) -> { return x; }; -// return lam1.apply(new Apply()); - return lam1; + return lam1.apply(new Apply()); + //return lam1; // return new Vector(); } } diff --git a/test/javFiles/Vector.jav b/test/javFiles/Vector.jav index 9d2eadd7..5c21cfff 100644 --- a/test/javFiles/Vector.jav +++ b/test/javFiles/Vector.jav @@ -1,4 +1,5 @@ import java.util.ArrayList; +import java.util.Vector; import java.lang.Object; class MyVector{ @@ -8,6 +9,15 @@ id(x){ x.add(i); x.add(i); x.add(i); + x.add(i); + x.add(i); + x.add(i); + x.add(i); + x.add(i); + x.add(i); + x.add(i); + x.add(i); + x.add(i); return x; } } \ No newline at end of file diff --git a/test/typeinference/UnifyTest.java b/test/typeinference/UnifyTest.java index e2e6206c..8ce8c71a 100644 --- a/test/typeinference/UnifyTest.java +++ b/test/typeinference/UnifyTest.java @@ -35,10 +35,12 @@ public class UnifyTest { } */ + /* @Test public void vector() throws IOException, ClassNotFoundException { execute(new File(rootDirectory+"Vector.jav")); } + */ /* @Test @@ -79,7 +81,7 @@ public class UnifyTest { } */ - /* + @Test public void matrix() throws IOException, ClassNotFoundException { @@ -87,7 +89,7 @@ public class UnifyTest { //JavaTXCompiler compiler = new JavaTXCompiler(new File(rootDirectory+"Matrix.jav")); //compiler.generateBytecode(); } - */ + /* @Test