wirte the test cases for triangle

Answers were Sorted based on User's Feedback



wirte the test cases for triangle..

Answer / vikas

Assume that the prg takes inputs as 3 sides of triangle :

1. Enter 0 0 0 : Error : no triangle can be made
2. Enter -1 -1 -1 Error : no triangle can be made -ve values
3. Enter 1 0 x : Error : no triangle can be made . only
numbers and no alhpabets
4. Do not enter any values : Prompt to enter valid values
5. Enter 0.000000000000001 , 1000000000000,1000000000000 :
Triangle should be made (Boundary value)

6. And the most tricky
Enter 1 2 4 : Triangle can not be made . Summation of 2
sides should always greater than third value . 1+2<4 . So
triangle can not be made
7. 2 2 2 : Equilateral triangle
8. 1 2 2 : Isoscelous triangle
9. Test with very small values , very large values and
combinations of both .

Is This Answer Correct ?    68 Yes 7 No

wirte the test cases for triangle..

Answer / ravi

Some more possibilities r there,
like sides u can also write TC for the angles

Is This Answer Correct ?    8 Yes 3 No

wirte the test cases for triangle..

Answer / minni


First check whether it is triangle or not by "any two sides
sum should be greater than third side"
check if 3 sides are equal
check if a NE to b NE to C
check if any two sides are equal

Is This Answer Correct ?    8 Yes 10 No

Post New Answer

More Manual Testing Interview Questions

exact difference between smoke testing, sanity testing and unit testing

7 Answers  


Please any one tell me what is application architure in web based applications

2 Answers   ProKarma,


in manual testing functional testing means to check the behviour of the appln.it is correct or let me know

4 Answers  


What is difference b/w Windows XP & Windows NT

1 Answers   AZTEC,


Hi,please help me out with my ques:what will be the url link while doing the testing?

1 Answers  






Write as many test cases of InternerExplorer compatibilty on test ON wiNDOWS OPERATING SYSTEM?

8 Answers   nvidia,


what is meant by Priority nad severity?

13 Answers   Verizon,


where do u store Testcases and where do u store versions

2 Answers  


What is the difference between Shakeout, Smoke, and Sanity Testing.

5 Answers  


What did your base your test cases?

3 Answers  


in employe details form, we are entering First name as manjunath and Last name as sastry. but when we retriving the data in reports form, it shows as first name as sastry and last name as manjunath. here bug may be in employee details form or reports form. how you check in manual?

9 Answers   CTS,


What are the principles of software testing?

0 Answers  


Categories