Test Scenarios of Triangle


  1. Verify that the figure is closed (polygon).
  2. Verify that the figure is two-dimensional and formed with straight lines only.
  3. Verify that the figure has exactly three sides.
  4. Verify that the figure has exactly three vertices.
  5. Verify that the sum of the angles of the figure is 180 degrees.
  6. Verify that no two sides are perpendicular to each other
  7. Verify that the sum of the length of two sides of the traingle should be greater than length of the third side
  8. Verify that no two angles of triangle have 90 degree and above value.
  9. Verify the type of traingle is as per the specification, based on its sides - scalene, isosceles or equilateral.
  10. Verify the type of traingle is as per the specification, based on its angles - acute angle, obtuse angle or right angled triangle.