From 1dfe318b1011dda10fd9e98a37e412e82ab96b72 Mon Sep 17 00:00:00 2001 From: ericnerdo Date: Mon, 25 Apr 2016 21:21:02 +0200 Subject: [PATCH] boolean timeUpTest() added to Tester --- cicaprojekt/Tester.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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; + } + }