new program
This commit is contained in:
parent
054a4092d5
commit
0fa3277440
@ -47,6 +47,6 @@ public class TriangleChecker {
|
|||||||
|
|
||||||
// Analyse der Dreiecksart
|
// Analyse der Dreiecksart
|
||||||
public static TriangleType checkTriangle(float a, float b, float c) {
|
public static TriangleType checkTriangle(float a, float b, float c) {
|
||||||
return TriangleType.NONE;
|
return TriangleType.NORMAL;
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -7,9 +7,9 @@ public class TriangleCheckerTest {
|
|||||||
public void testValidTriangle() {
|
public void testValidTriangle() {
|
||||||
|
|
||||||
// Arrange
|
// Arrange
|
||||||
float a = 2;
|
float a = 7;
|
||||||
float b = 3;
|
float b = 3;
|
||||||
float c = 4;
|
float c = 1;
|
||||||
|
|
||||||
// Act
|
// Act
|
||||||
TriangleChecker.TriangleType type = TriangleChecker.checkTriangle(a, b, c);
|
TriangleChecker.TriangleType type = TriangleChecker.checkTriangle(a, b, c);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user