Browse Source

"Normal" eingefügt und positiver Test

master
Sarah Baumann 3 years ago
parent
commit
d1113f3408
1 changed files with 5 additions and 3 deletions
  1. 5
    3
      src/TriangleChecker.java

+ 5
- 3
src/TriangleChecker.java View File

@@ -47,8 +47,10 @@ public class TriangleChecker {

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


if (a+b>c || b+c>a || a+c>b) {
return TriangleType.NORMAL;
}
return TriangleType.NONE;
}
}

Loading…
Cancel
Save