From 0a240e59f9ff647b303ed02f9185193536fbd5b2 Mon Sep 17 00:00:00 2001 From: ericnerdo Date: Mon, 25 Apr 2016 21:01:49 +0200 Subject: [PATCH] boolean ZPMTest() added to Tester --- cicaprojekt/Tester.java | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/cicaprojekt/Tester.java b/cicaprojekt/Tester.java index a3b6cb2..a6f0c6f 100644 --- a/cicaprojekt/Tester.java +++ b/cicaprojekt/Tester.java @@ -148,6 +148,7 @@ public class Tester { return results; } + @Test boolean gapTest(){ String[] commands = {"loadMap gapTest\n", "move O\n"}; @@ -163,6 +164,20 @@ public class Tester { return results; } - + @Test + boolean ZPMTest(){ + String[] commands = {"loadMap ZPMTest\n", + "move O\n"}; + + String[] expectedOutputs = {}; + boolean results = testOnSequenceOfCommands(commands, expectedOutputs); + + System.out.print("ZPMTest: "); + if(results) + System.out.println("Sikeres!"); + else System.out.println("Sikertelen!"); + + return results; + } }