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
integration test cases for mouse and keyboard
What are different types of verifications?
Explain the procedure for manual testing.
What is sanity?
What are the challenges you faced in your project (Testing) and in your company?
How many bugs occured will be considerd appropriate over 1000 steps when inspecting software? Describle an approriate Bug value.
What is Catapult Testing in E-Learning Domain?
What type of projects can include in Logistics Domain? and what is the type of domain for project which include Driving license renewal, Different type of title registration etc...
What are the benefits of creating multiple actions within any virtual user script?
Which are the standards for software test plans?
What is Snapshot Testing? When we need to do and who will involve in this process and also what is the output document of this testing
How do you scope out the size of the testing effort?
HI FRNDS, I HAVE 2.5 years OF exp In Manual Testing,Plz let me know if thr r any oppurtunities in any company in Bangalore ID:dsnithi@gmail.com Thanks in Advance
How to overcome pesticide paradox?
Sentence "Working from onsite is effective" is growing in IT field. How do we bring that knowledge to offshore and do an effective job in Offshore?