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
i want to for technical interview question paper along with in tesrviwe Phases i need
If project wants to release in 3months what type of risk analysis you do in test plan?
You may be overqualified for this position we have to offer
Changes and enhancements to system?
How to do Pixel Size testing in a PDF document. Is there any Open tool that will be avaiable?
Hi Could someone please provide Siebel Testing Interview questions for 5 years exp.
How do you perform configuration management with typical revision control systems?
What if the project isn’t big enough to justify extensive testing?
what r u r responsibilities in current project
What is reverse engineering?
Explain Test Plan with example? Explain following in the test plan with examples What is being tested? What are pass/fail criteria? When will each test occur? What Hardware & Software environment is required? What features must be tested? What features will not be tested? What are the responsibilities of individuals & organisation in the project?
List the considerations in developing testing methodology
Hi Everybody could you please send me the ISTQB Material to my mail id karthik18487@gmail.com Thanking you in advance
What is early testing?
Can any one say me how to do Performance testing step by step plz for a desktop application(offline application).all the data is stored in internal server itself can any plz help me. ts quite urgent friends.