boolean rotationTest() added to Tester
This commit is contained in:
parent
1dfe318b10
commit
41b132df46
@ -246,4 +246,20 @@ public class Tester {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user