wirte the test cases for triangle
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What steps are needed to develop and run software tests?
i was testing a website for many months and everything was working fine from login to sign up and all the scenarios. but my boss asked me why login and sign up is not working?
What is comprehensive testing
what is v-model and explan with diagramm
what is test plan and test stategy and also differnce bet them?
What is the Stub abd the driver ?Are these both using at the time of Top-up approach of integration testing and bottom-down approach testing .?
what is the difference between Load,Stress and Volume Testing?
What is difference between web based testing and windows based testing ?
i need the brief explanations fo following question. # 1 1. type of action, 2. smart identification, 3. check points, 4. script to invoke web browser, 5. wot is get ro & getto property, 6. can you set a value in runtime, 7. wot is the use of bitmap checkpoint, 8. diff between dim & redim, 9. wot is function & Sub procedure,10. how u declare constant value. 11. wot is output value , 12. virtual object, 13. write script to retrieve data from the DB, 13. Types of frame works explain them brieflly
How we can explain a bug which may arrive at the time of testing? Explain that bug in details?
What is the difference between function testing and system testing ? Please answer with proper pratical exmaple and avoid copy paste of text which written in book
How will you deploy a web appln?i mean how will recive that build if it is web based(asp.net)?