write the testcases for a triangle ABC. given length of 3
sides of a possible triangle, check whether 3 sides do
indeed form a triangle or not if they do then state whether
the triangle is scalene, isoceles or equilateral.
Note that the sum of any two sides of a triangle should be
greater than third side.
A+B>C
B+C>A
A+C>B.
need urgently. thank u... by priya
Answers were Sorted based on User's Feedback
Answer / ishak
write the testcases for a triangle ABC. given length of 3
sides of a possible triangle, check whether 3 sides do
indeed form a triangle or not if they do then state whether
the triangle is scalene, isoceles or equilateral.
Note that the sum of any two sides of a triangle should be
greater than third side
A+B>C
B+C>A
A+C>B.
Is This Answer Correct ? | 22 Yes | 6 No |
Answer / puja
Step1:
Check They are tringle or not
The sum of any two sides of a triangle should be
greater than third side
A+B>C
B+C>A
A+C>B.
Step II:
Check for Scalene:-
A not equal to B not equal to C
Check for isoceles:-
A=B or B=C or A=C
Check for Equilateral
A=B=C.
Thanks
Is This Answer Correct ? | 17 Yes | 4 No |
Answer / pepsi123
the test casse for traingle could be written with the help
of assigning 3 values to 3 sides of the triangle.Possible
test cases for triangle are:
Input condition Output
10,10,10 Equilateral
10,5,4 scalene
10,10,5 Isosceles
0,10,5 invalid
0,0,0 invalid
-7,10,10 invalid
10,5,7,10 invalid
10,2,3 invalid(sum should be greater)
10,5,_(blank) invalid
Is This Answer Correct ? | 14 Yes | 7 No |
Answer / sheetal
write the test cases for c=a+b and the sum is not greater
than 10,
need urgently. thank u... by sheetal
Is This Answer Correct ? | 2 Yes | 2 No |
Answer / rashmi garg
to test if 3 sides form a triangle, test cases are:
1. three edges a, b and c are not in the same line
2. None of the three sides AB, BC or CA is of zero length
Is This Answer Correct ? | 4 Yes | 10 No |
how to write test cases for the example state name starts with A B C D E F G H I J K L Z
write case for petrol pump?
9 Answers Accenture, AppLabs, EPPCO, Satyam,
Q.1)how write negative & positive test cases Q.2 )write negative & positive test cases for i-pod
Write the 3 TestCases to prove tht it is a softdrinkbottle or not.
Where can i find example or samples of testcases to improve my testcases documentation?
By clicking the file button on a Word document and opening the Print window, Identify what needs to be white box tested and what needs black box testing. (On the black box testing items, identify boundary conditions and equivalence partition testing is possible and give data examples.)
Do anyone hav any knowledge about testing the Eftpos System??Like what kind of test cses that can be prepared for checking the system...
We r developing one Web Site for construction company. In that Web site we have different option like About Us,Contact Us,Home,Sites,Site Map,Search Etc........ and front page of that web application contains 6 different pictures means single page contain 6 pics etc... write Test plan ,Test Scenarios,Test Case ....Plz answer this question ASAP
Explain the syntax testing?
Write test cases for 8+4?
What is the basis on which you can check a text box in a web page or application?
3 Answers HCL, IBM, R Systems,
What are the properties of a good requirement?