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 |
i want to write the test cases for sorting the records in a table according to date wise.this is the functionality ,that is the latest record should come on the top can any one tell me the test cases for this thanks in advance:)
Apart from the normal functional test cases written, list out some out of the box test scenarios to test the 'Replace' dialog box in a Notepad
if we ve data 100 how we can check and create equvalnces an bva .if we ve data 1-5,6-10so on wat will we bva how we will chk
write a test cases for advanced search
pls let me know the answer, recently i faced this question in interview. when you are writing the test cases,if the requirements are changed what will u do?
Do we have to write the seperate test cases for System testing and UAT testing? And also what are the roles and reponsibilities of a tester/how to interact when End users are performing the UAT Testing.
when we should start writing test cases?
10 Answers Thatavarti Technologies,
How to write test cases for "hotel reservatrion" for ms word? Thanks a lot!
How to write test case for this scenario. The system shall allow for a wild card search for the last name with a minimum of one character
i am preparing for interviews in real time job what test cases we have to prepare please explain with example?
150 integration testing scenarios for gmail
Please let me know how to write a test case for Pen and washing machine.