wirte the test cases for triangle
Answer Posted / 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 |
Post New Answer View All Answers
what is acid testing?
Explain about PET Model?
PLEASE CAN ANYONE SEND ME THE TEST SCENARIO BASED QUESTIONS FOR 3+ EXPERIENCE IN MANUAL TESTING
What is Registry?
1.what kind of testing have you done ?
WHAT IS OBJECT REPOSITORY? AND IT TYPES? HOW MANY TYPES OF ACTIONS ARE THERE IN QTP? CAN WE ADD NEW OBJECTS AND PROPERTIES INTO SHARED OBJECT REPOSITORY?
Why would we not include these?
What is bottom-up approach?
how to test a web application manually?can u explain indetail?
1.what is a test condition ?
how to test ecg machine?
Which was the most interesting bug you found.
When will the testing starts?
What expected result should come when Enter any sql query like “Select * from hello;” without quotes and with quotes.
how can you test the web environment for security testing?