Stand 001/14.10/15:56
This commit is contained in:
parent
51ff128cba
commit
f0ef829bce
@ -12,7 +12,17 @@ class TriangleCheckerTest {
|
||||
float c = 5;
|
||||
|
||||
TriangleChecker.TriangleType result = TriangleChecker.checkTriangle(a, b, c);
|
||||
System.out.println(result);
|
||||
|
||||
assertEquals(TriangleChecker.TriangleType.NORMAL, result, "Normales Dreieck");
|
||||
|
||||
float d = 4;
|
||||
float e = 4;
|
||||
float f = 4;
|
||||
|
||||
TriangleChecker.TriangleType result2 = TriangleChecker.checkTriangle(d, e, f);
|
||||
System.out.println(result2);
|
||||
|
||||
assertEquals(TriangleChecker.TriangleType.EQUILATERAL, result2, "Gleichseitiges");
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user