diff --git a/src/test/java/de/hsel/sqs/WhiteboxTest.java b/src/test/java/de/hsel/sqs/WhiteboxTest.java index 4257c78..c7e9c47 100644 --- a/src/test/java/de/hsel/sqs/WhiteboxTest.java +++ b/src/test/java/de/hsel/sqs/WhiteboxTest.java @@ -40,12 +40,12 @@ public class WhiteboxTest { assertEquals(TriangleType.EQUILATERAL_TRIANGLE, TriangleChecker.checkTriangle(5, 5, 5)); assertEquals(TriangleType.ISOSCELESS_TRIANGLE, TriangleChecker.checkTriangle(5, 5, 3)); - assertEquals(TriangleType.NO_TRIANGLE, TriangleChecker.checkTriangle(7, 3, 3)); + assertEquals(TriangleType.ISOSCELESS_TRIANGLE, TriangleChecker.checkTriangle(6, 4, 6)); - assertEquals(TriangleType.NO_TRIANGLE, TriangleChecker.checkTriangle(2, 2, 5)); + assertEquals(TriangleType.ISOSCELESS_TRIANGLE, TriangleChecker.checkTriangle(2, 2, 3)); assertEquals(TriangleType.ISOSCELESS_TRIANGLE, TriangleChecker.checkTriangle(5, 7, 5)); - assertEquals(TriangleType.NO_TRIANGLE, TriangleChecker.checkTriangle(7, 3, 3)); - assertEquals(TriangleType.NO_TRIANGLE, TriangleChecker.checkTriangle(2, 1, 5)); + assertEquals(TriangleType.ISOSCELESS_TRIANGLE, TriangleChecker.checkTriangle(5, 3, 3)); + assertEquals(TriangleType.SCALENE_TRIANGLE, TriangleChecker.checkTriangle(4, 3, 5)); assertEquals(TriangleType.NO_TRIANGLE, TriangleChecker.checkTriangle(4, 2, 7)); assertEquals(TriangleType.NO_TRIANGLE, TriangleChecker.checkTriangle(4, 8, 3));