From ae70fed496ce1b3d7f870675a7625698d57e4855 Mon Sep 17 00:00:00 2001 From: Drees Date: Mon, 9 Jan 2023 18:39:07 +0100 Subject: [PATCH] Restlichen Test --- Roboter/tpe/facade/FactorySystemTest.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Roboter/tpe/facade/FactorySystemTest.java b/Roboter/tpe/facade/FactorySystemTest.java index fdd3833..0358286 100644 --- a/Roboter/tpe/facade/FactorySystemTest.java +++ b/Roboter/tpe/facade/FactorySystemTest.java @@ -62,16 +62,16 @@ int[] testZahlen2= {1,4,3,41,78,20}; assertEquals(fs.robotInstructions(testid2, testZahlen2), "1, 3, 4, 20, 41, 78"); } - @Test - void robotBlackBox() { +// @Test +// void robotBlackBox() { - fs.triggerPower(testid); - RobotMagicValueException thrownValue=Assertions.assertThrows(RobotMagicValueException.class,() -> fs.robotInstructions(testid,testZahlen1)); - assertEquals(thrownValue.getMessage(),fs.robotBlackbox(testid)); +// fs.triggerPower(testid); +// RobotMagicValueException thrownValue=Assertions.assertThrows(RobotMagicValueException.class,() -> fs.robotInstructions(testid,testZahlen1)); +// assertEquals(thrownValue.getMessage(),fs.robotBlackbox(testid)); -// RobotIllegalStateException thrownState = Assertions.assertThrows(RobotIllegalStateException.class,() -> fs.robotInstructions(testid,testZahlen2)); +// RobotIllegalStateException thrownState = Assertions.assertThrows(RobotIllegalStateException.class,() -> fs.robotInstructions(testid,testZahlen2)); // assertEquals(thrownState.getMessage(),fs.robotBlackbox(testid)); - } +// } }