Browse Source

"Normal" eingefügt und positiver Test

master
Sarah Baumann 2 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



// 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;
}



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

Loading…
Cancel
Save