wirte the test cases for triangle by using testing
techniques
Answers were Sorted based on User's Feedback
Answer / vimal
The above test cases are ok. But the most productive test
case is to check that the sum of two sides should be
greater than third side.
Is This Answer Correct ? | 11 Yes | 3 No |
Which technique to be used dont know.
but cases are.
1> min and max number of sides = 3
2> sum of angles between sides = 180
3> shud have min and max 3 intersection points
4> no line overlapping each other.
IF type of triangle is to tested
1> all sides shud be same in length for equilateral
2> only 2 sides shud be same for isosales triangle
3> if 1 angle is 90' then it is right angled.
Is This Answer Correct ? | 10 Yes | 4 No |
Answer / reddy
case id input expected results
1 length of the sides are 3 3 3 equilateral triangle
2 length of the sides are 2 2 3 isosceles triangle
3 length of the sides are 2 3 4 scalene triangle
4 length of the sides are 2 3 6 error: invalid input data
value
5 length of the sides are 2 3 ? error: invalid input data value
6 angles of the triangle are >90 >90 >90 oblique triangle
7 angles of the triangle are <90 <90 <90 oblique triangle
or acute triangle
8 angles of the triangle are 60 60 60 equilateral triangle
9 angles of the triangle are 45 45 90 isosceles triangle
10 angles of the triangle are 30 60 90 scalene triangle
11 one angle of triangle is more than 90 obtuse triangle
Is This Answer Correct ? | 4 Yes | 2 No |
Answer / kumar
well the requirement is not clear.
no need of wasting time to a=write testcase.
reason is...
is a traingle is needed to be constructed?
is the area is being calculated?
is the perimeter nedd to be calculated?
or is it the type of traingle is being found out?
angles are being measured?
etc.....
nothing is clear hence you can write on any issue.
just get back to the customer and ask him what exactly he
requires.
or just assume any one scenario and write test cases for
that.
Is This Answer Correct ? | 9 Yes | 8 No |
Answer / syed
Test cases for triangles :-
Major test cases for the triangle to find whether it exists
or not
i) Sum of all angles in a triangle should be 180o.
ii) Sum of any two sides of a triangle is always greater
than third side.It it is less than the third side it implies
that the three sides lie on straight line.
iii)A triangle can not have two right angles ie a triangle
can not have two angles equal to 90o as it is equal to 180o
for two angles and third angle must be zero which is not
possible.
iv) A triangle can not have two obtuse angles ie a triangle
can not have two angles more than 90o asit is exceeding 180o
for two angles only.
Is This Answer Correct ? | 3 Yes | 2 No |
Answer / anamika phalke
1) Write 10 unique test cases to adequately test the triangle?
2) List 10 questions/assumptions that you would like to ask
or assume w.r.t testing the above program.
please answer these questions today..
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / riya
1) Write 10 unique test cases to adequately test the above
program.
2) List 10 questions/assumptions that you would like to ask
or assume w.r.t testing the above program.
please answer these question immediatly.
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / k.chandra sekhar
a) 1st check the all sides are equal or not
b) If the all sides are equal then it is the equal
triangle or that is scalene triangle
c) Check the all angles or equal or not
d) This types of all
My name is k.chandra sekhar,
My phone no is 09246540049,Hyderabad.
My mail id is ndra_143@yahoo.co.in
I am take the class for projects if you interst contact
If any body want full explain send the mail
Is This Answer Correct ? | 2 Yes | 6 No |
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?
Explain the functional testing?
can any one give the format of writing test cases in excel sheet.
write test case for coin-box telephone
how to write test cases for "Browse" button.
What is the logic testing?
What is the basic stuff you require to begin creating test cases?
How to write test case for this scenario. The system shall compare the requested name with the Service Member Name field in the database
What is the toughest moment you faced in your testing carrier in which everyone praised you?
Write negative test case for logout????? Answer soon friends
How to write test cases on laptop???
0 Answers RAS Inforays Technologies,
Can any one please give me a test case for transaction of money thro' mobile phones. I really need it soon. i need the test case in ieee format.please anyone help me.