boolean ZPMTest() added to Tester
This commit is contained in:
parent
339df6af13
commit
0a240e59f9
@ -148,6 +148,7 @@ public class Tester {
|
||||
return results;
|
||||
}
|
||||
|
||||
@Test
|
||||
boolean gapTest(){
|
||||
String[] commands = {"loadMap gapTest\n",
|
||||
"move O\n"};
|
||||
@ -163,6 +164,20 @@ public class Tester {
|
||||
return results;
|
||||
}
|
||||
|
||||
@Test
|
||||
boolean ZPMTest(){
|
||||
String[] commands = {"loadMap ZPMTest\n",
|
||||
"move O\n"};
|
||||
|
||||
String[] expectedOutputs = {};
|
||||
boolean results = testOnSequenceOfCommands(commands, expectedOutputs);
|
||||
|
||||
System.out.print("ZPMTest: ");
|
||||
if(results)
|
||||
System.out.println("Sikeres!");
|
||||
else System.out.println("Sikertelen!");
|
||||
|
||||
return results;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user