boolean timeUpTest() added to Tester
This commit is contained in:
parent
19ff22905d
commit
1dfe318b10
@ -231,4 +231,19 @@ public class Tester {
|
|||||||
return results;
|
return results;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
boolean timeUpTest(){
|
||||||
|
String[] commands = {"loadMap timeUpTest\n"};
|
||||||
|
|
||||||
|
String[] expectedOutputs = {};
|
||||||
|
boolean results = testOnSequenceOfCommands(commands, expectedOutputs);
|
||||||
|
|
||||||
|
System.out.print("timeUpTest: ");
|
||||||
|
if(results)
|
||||||
|
System.out.println("Sikeres!");
|
||||||
|
else System.out.println("Sikertelen!");
|
||||||
|
|
||||||
|
return results;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user