diff --git a/cicaprojekt/Tester.java b/cicaprojekt/Tester.java index 56fc9de..021dcf2 100644 --- a/cicaprojekt/Tester.java +++ b/cicaprojekt/Tester.java @@ -231,4 +231,19 @@ public class Tester { return results; } + @Test + boolean timeUpTest(){ + String[] commands = {"loadMap timeUpTest\n"}; + + String[] expectedOutputs = {}; + boolean results = testOnSequenceOfCommands(commands, expectedOutputs); + + System.out.print("timeUpTest: "); + if(results) + System.out.println("Sikeres!"); + else System.out.println("Sikertelen!"); + + return results; + } + }