boolean ZPMTest() added to Tester

This commit is contained in:
ericnerdo 2016-04-25 21:01:49 +02:00
parent 339df6af13
commit 0a240e59f9

View File

@ -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;
}
}