2
0

defined unittests angepasst

This commit is contained in:
Djonge 2020-04-23 17:29:45 +02:00
parent 7defeef43b
commit afc3689a10

View File

@ -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));