Testfall anfügen

This commit is contained in:
JanUlrich 2018-09-09 18:53:43 +02:00
parent 654f347450
commit 16ca123780
3 changed files with 13 additions and 2 deletions

View File

@ -3,9 +3,8 @@ import java.lang.Boolean;
import java.lang.Object;
public class IfTest{
Object m1(Boolean b) {
Object m1(b) {
Integer i;
Boolean b;
if(b) {
return i;
}else{

View File

@ -0,0 +1,8 @@
import java.util.List;
import java.util.Collection;
class Sorting{
void merge(a, b){
a.addAll(b);
}
}

View File

@ -100,6 +100,10 @@ public class JavaTXCompilerTest {
public void ifStatement() throws IOException, ClassNotFoundException {
execute(new File(rootDirectory+"IfTest.jav"));
}
@Test
public void multipleSolutions() throws IOException, ClassNotFoundException {
execute(new File(rootDirectory+"Sorting.jav"));
}
private static class TestResultSet{