write a test case for triangle?

Answer Posted / durga

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]

Is This Answer Correct ?    27 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you write test plan and test case?

2026


Explain the state testing?

734


Credit card field contains four text boxes. We can validate each textbox separately with conditions but how can we write integrated testcase for all the four?

1980


What are the detailed test cases for Vacations Rental websites (Admin,Traveler,Rental owner)?

2620


How to write test case for this scenario. The text field that reads “ enter SDU number or the city and state of the SDU” shall be removed from the contact screen 

1660






You have designed test cases to provide 100% statement and 100% decision coverage for the following fragment of code. If width > length then biggest_dimension = width else biggest_dimension = length end_if the following has been added to the bottom of the code fragment above. Print 'biggest dimension is ' &biggest_dimensionprint 'width: ' & width print 'length: ' & length how many more test cases are required?

1022


Some test case for mambo cms (only basically: graphic, function...) Thanks for answer.

1839


Explain the format of a requirement traceability matrix. And how to include this rtm in the requirement document?

829


"search"test cases on Linkedin website and how will you write test cases on it?

5817


How to test Webservices and how can we write test cases for that

2998


Can someone tell me the test cases to test the password for with following scenario: 1. Password should be minimum 6 chars and maximum 8 chars. 2. Password should consist one uppercase letter 3. Password should consist of one numeric 4. Password should consist of one special character.

1785


can anyone send me a copy of a business requirement and test cases attributed to such requirent. thank u

1760


Explain the monkey testing?

752


Explain the sanity testing?

781


Please guide me for Add new user test cases

1200