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
Answer Posted / pepsi123
the test casse for traingle could be written with the help
of assigning 3 values to 3 sides of the triangle.Possible
test cases for triangle are:
Input condition Output
10,10,10 Equilateral
10,5,4 scalene
10,10,5 Isosceles
0,10,5 invalid
0,0,0 invalid
-7,10,10 invalid
10,5,7,10 invalid
10,2,3 invalid(sum should be greater)
10,5,_(blank) invalid
| Is This Answer Correct ? | 14 Yes | 7 No |
Post New Answer View All Answers
How to write test case for this scenario. The system shall allow for a wild card search for the first name with a minimum of one character.
Test a file replication service that copies files from one net location to another
what is black box system in software development in system analysis and design?
If for any software product, if the customers more often us few functions, and rarely use few othere functionality. what a tester can expect more deffects can be found, in what area, where the functionality frequently used OR where rarly used?
write test cases on file open dialog box in notepad
What are all the companies are doing manual testing till now ?
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
This was asked to me recently in Microsoft interview How would you do DOS copy command testing
how to write test cases for smart meter for gas and electricty
How to write test case for this scenario. The Contact Information screen shall be displayed to the user during Case Update
how to make test case for anolog voice logger?
Explain the gray box testing?
What is test environment? Elaborate with example.
What is ramp testing?
What is transaction testing?