Browse Source

new program

master
Johannes Weichelt 3 years ago
parent
commit
0fa3277440
2 changed files with 3 additions and 3 deletions
  1. 1
    1
      src/TriangleChecker.java
  2. 2
    2
      test/TriangleCheckerTest.java

+ 1
- 1
src/TriangleChecker.java View File

@@ -47,6 +47,6 @@ public class TriangleChecker {

// Analyse der Dreiecksart
public static TriangleType checkTriangle(float a, float b, float c) {
return TriangleType.NONE;
return TriangleType.NORMAL;
}
}

+ 2
- 2
test/TriangleCheckerTest.java View File

@@ -7,9 +7,9 @@ public class TriangleCheckerTest {
public void testValidTriangle() {

// Arrange
float a = 2;
float a = 7;
float b = 3;
float c = 4;
float c = 1;

// Act
TriangleChecker.TriangleType type = TriangleChecker.checkTriangle(a, b, c);

Loading…
Cancel
Save