Write a Test Cases for Triangle types ?

Showing Answers 1 - 3 of 3 Answers

Some test cases can be:
Sum of angles should be equal to 180 degrees.
It should be a closed figure.
The figure should be made up of 3 straight lines such that 2 straight lines are drawn from a single vertex.

  Was this answer useful?  Yes

Bhanu Gill

  • Jan 8th, 2015
 

Test cases for triangle.
1. Check if there are 3 sides
2. Check for the angles and their sum[should be 180degrees]
3. Check if the triangle is equilateral or isosceles or scalene
4. Check if the sides are coinciding or not
5. Check if the triangle is right-angled isosceles, there is a right angle or not.
6. Check if a triangle is right-angled isosceles whether the Pythogaras law is observed.
7. Check if the triangle is acute or obtuse or right-angles
8. Check if the triangle is isosceles, the opposite angles are equal or not.
9. Check if the triangle is equilateral, all the angles are equal or not[i.e., 60degrees]
10. Check if the axioms SAS,SSS are followed.
11. Check if the user is able to draw the 3 circles [interior,exterior,circumcirlce]

Bhanu Gill

  • Jan 8th, 2015
 

1. Check if there are 3 sides
2. Check for the angles and their sum[should be 180degrees]
3. Check if the triangle is equilateral or isosceles or scalene
4. Check if the sides are coinciding or not
5. Check if the triangle is right-angled isosceles, there is a right angle or not.
6. Check if a triangle is right-angled isosceles whether the Pythogaras law is observed.
7. Check if the triangle is acute or obtuse or right-angles
8. Check if the triangle is isosceles, the opposite angles are equal or not.
9. Check if the triangle is equilateral, all the angles are equal or not[i.e., 60degrees]
10. Check if the axioms SAS,SSS are followed.
11. Check if the user is able to draw the 3 circles [interior,exterior,circumcirlce]

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions