boolean rotationTest() added to Tester

This commit is contained in:
ericnerdo 2016-04-25 21:27:10 +02:00
parent 1dfe318b10
commit 41b132df46

View File

@ -246,4 +246,20 @@ public class Tester {
return results; return results;
} }
@Test
boolean rotationTest(){
String[] commands = {"loadMap rotationTest\n",
"Rotate O L\n",
"Rotate O R\n"};
String[] expectedOutputs = {};
boolean results = testOnSequenceOfCommands(commands, expectedOutputs);
System.out.print("rotationTest: ");
if(results)
System.out.println("Sikeres!");
else System.out.println("Sikertelen!");
return results;
}
} }