fixed typos in testExtraZPMs and testReplicatorPosition in Tester.java

This commit is contained in:
Hegedus Fanni 2016-04-25 21:11:58 +02:00
parent fbdb7ba867
commit 518fdd0586

View File

@ -123,7 +123,7 @@ public class Tester {
} }
@Test @Test
boolean extraZPM(){ boolean testExtraZPM(){
String[] commands = {"loadMap testExtraZPMs\n", String[] commands = {"loadMap testExtraZPMs\n",
"listZPMs\n", "listZPMs\n",
"move O\n", "move O\n",
@ -134,7 +134,7 @@ public class Tester {
return testOnSequenceOfCommands(commands, expectedOutputs); return testOnSequenceOfCommands(commands, expectedOutputs);
System.out.print("extraZPMs: "); System.out.print("testExtraZPMs: ");
if(results) if(results)
System.out.println("Sikeres!"); System.out.println("Sikeres!");
else System.out.println("Sikertelen!"); else System.out.println("Sikertelen!");
@ -192,7 +192,7 @@ public class Tester {
} }
@Test @Test
boolean replicatorPosition(){ boolean testReplicatorPosition(){
String[] commands = {"loadMap testReplicatorPosition\n", String[] commands = {"loadMap testReplicatorPosition\n",
"move O\n"}; "move O\n"};