Vector TEst anfügen

This commit is contained in:
JanUlrich 2018-06-28 16:47:05 +02:00
parent 29bd9a3f4f
commit 9123e222f4
2 changed files with 13 additions and 3 deletions

View File

@ -1,8 +1,13 @@
import java.util.Vector; import java.util.ArrayList;
import java.lang.Object;
class MyVector{ class MyVector{
id(x){ id(x){
return (x.elementAt(0)); Object i;
x.add(i);
x.add(i);
x.add(i);
return x;
} }
} }

View File

@ -28,13 +28,18 @@ public class UnifyTest {
public void finiteClosure() throws IOException, ClassNotFoundException { public void finiteClosure() throws IOException, ClassNotFoundException {
execute(new File(rootDirectory+"fc.jav")); execute(new File(rootDirectory+"fc.jav"));
} }
*/
@Test @Test
public void lambda() throws IOException, ClassNotFoundException { public void lambda() throws IOException, ClassNotFoundException {
execute(new File(rootDirectory+"Lambda.jav")); execute(new File(rootDirectory+"Lambda.jav"));
} }
*/
@Test
public void vector() throws IOException, ClassNotFoundException {
execute(new File(rootDirectory+"Vector.jav"));
}
/* /*
@Test @Test
public void lambda2() throws IOException, ClassNotFoundException { public void lambda2() throws IOException, ClassNotFoundException {