added replicatorPosition test in Tester.java

This commit is contained in:
Hegedus Fanni 2016-04-25 21:03:53 +02:00
parent 1b2c8c8478
commit 806c6ae37c

View File

@ -174,6 +174,21 @@ public class Tester {
return results; return results;
} }
@Test
boolean replicatorPosition(){
String[] commands = {"loadMap testReplicatorPosition\n",
"move O\n"};
String[] expectedOutputs = {};
return testOnSequenceOfCommands(commands, expectedOutputs);
System.out.print("replicatorPosition: ");
if(results)
System.out.println("Sikeres!");
else System.out.println("Sikertelen!");
return results;
}
} }