forked from JavaTX/JavaCompilerCore
Vector TEst anfügen
This commit is contained in:
parent
29bd9a3f4f
commit
9123e222f4
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user