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)



    1. 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)

    2. What are not?
      a + b == c (degenerate triangle with zero area)
      a + b> c


Log in to reply
 

Suggested Topics

  • 4
  • 4
  • 4
  • 2
  • 3