| |
GeekInterview.com > Interview Questions > Testing > Test Cases
| Print | |
Question: for a triangle(sum of two sides is greater than or equal to the third side),what is the minimal number of test cases required.
|
| March 03, 2006 13:43:36 |
#5 |
| ManiQ |
CRM Expert Member Since: February 2006 Total Comments: 17 |
RE: for a triangle(sum of two sides is greater than or... |
| Consider the triangle has three sides like a,b,c:-Obj #1: Side "a" length should not be "Zero"Obj #2: Side "b" length should not be "Zero"Obj #3: Side "c" length should not be "Zero"Obj #4: Side "a" + Side "b" should be equal to Side "c"Obj #4: Side "b" + Side "c" should be equal to Side "a"Obj #4: Side "a" + Side "c" should be equal to Side "b" |
| |
Back To Question | |