write a test case for triangle?

Answers were Sorted based on User's Feedback



write a test case for triangle?..

Answer / 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

write a test case for triangle?..

Answer / kyle

Why not:

1) should have 3 lines
2) no one lines length can be greater than or equal to the
sum of the other two
3) the endpoints of the 3 lines should be connected

Is This Answer Correct ?    11 Yes 2 No

write a test case for triangle?..

Answer / deepak

The most important criteria to be checked is:
>equilateral if all three sides are of equal length,
>isosceles if any two sides are of equal length,
>scalene if no two sides are the same length.
Based on these we can derive the test cases

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Test Cases Interview Questions

write a test case for a pen and paper regarding writing.

11 Answers   HCL, Wipro,


What is test environment? Elaborate with example.

0 Answers  


How to write test case for this scenario. The system shall auto populate the Email Address on the contact screen with the Email Address of the user profile 

0 Answers  


write the test case flipart.com

2 Answers   Satyam,


is test case required to be baselined?

0 Answers  






what are the sanity test cases for a waterBottel?

6 Answers  


Write test cases on for windows media player?

1 Answers   CGI, COG, QMCPL,


write the testcases for a triangle ABC. given length of 3 sides of a possible triangle, check whether 3 sides do indeed form a triangle or not if they do then state whether the triangle is scalene, isoceles or equilateral. Note that the sum of any two sides of a triangle should be greater than third side. A+B>C B+C>A A+C>B. need urgently. thank u... by priya

6 Answers   Barclays, Stag Computers,


what is baic requierment of yahoo mail? what is baic requierment of atm? what is baic requierment of coffee machine?

2 Answers  


can you tell me how to write test cases for payments, receipts, inward clearing, outward clearing, A/c statements ?

0 Answers   HP, QSpiders,


wht are the possible test cases for save button in notepad?

2 Answers   CTS, Vistar Tech,


How does the size of the OPCODE field limit the number of operations? Give an example to support your explanation?

1 Answers  


Categories