How would you test triangle?
-
Hello. The program allows us to specify 3 sides of a triangle as input, and based on them it is necessary to determine the type of this triangle. How would you test this? Write a check list)
-
-
What are triangles?
-
On both sides:
Equilateral
Isosceles, not equilateral
Versatile -
At the corners: if the function can return a list of features, because they do not exclude those above
Acute (all angles less than 90)
Rectangular (One corner 90)
Obtuse (One angle> 90)
-
-
What are not?
a + b == c (degenerate triangle with zero area)
a + b> c
-