diff --git a/cicaprojekt/Tester.java b/cicaprojekt/Tester.java index 021dcf2..17b095a 100644 --- a/cicaprojekt/Tester.java +++ b/cicaprojekt/Tester.java @@ -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; + } }