Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is function points??????

2105


What is common interface?

2031


can someone give me a brief idea about embedded testing.. i know both embedded system concepts and testing concepts.. i just want to know what we have to do for embedded testing

2402


can anyone tell anyone is providing training for CSTE exam in bangalore? and can u send some links related to this?

2041


Explain thread testing.

1125


What are drawbacks in system development life cycle

2286


Is compatabilitytestig and port testing are same

2003


can u merge 10GUI map files into a single GUI map file in winrunner?

2142


Can anyone please suggest me a online book on manual testing??

1858


what is mean by Performance Related Testing in data base?

2231


Work flow in testing in your company?

1861


What does 100% statement coverage mean?

2331


HI, I WANT TO DO A ISTQB FOUNDATION CERTIFICATION FROM HYDERABAD WHICH INSTITUTE WOULD BE GOOD FOR ME,WHERE I CAN TAKE SOME TRAINING SESSIONS FOR CLEARING THIS EXAMINATION.

2447


What is the difference between latent and masked defects?

1218


What is positive and negative testing?

1177