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 |
how to write test case for Add, Delete,Update,search and Edit button. Please its urgent.Could anybody help me as soon as possible
How to write test cases ?
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.
Explain how to develop a test plan and a test case.
Explain the format of a requirement traceability matrix. And how to include this rtm in the requirement document?
need for documenting test cases??? advantages and disadvantages of documenting test cases???
How to write test case for this scenario. The text field that reads “ enter SDU number or the city and state of the SDU” shall be removed from the contact screen
If I have written the 10 Positive test cases first and Negative test cases 11 to 25 .I Execute +ve first & then - ve as per test cases were written .Now if I got the next build & if I write again +ve Test Cases 26-30 first & then - ve 31-35 but I have to execute all test cases 1 to 35.But here the sequence of execution is +ve,-ve,+ve & -ve .How should I maintain the test cases .Please tell me It's Urgent .Thanks In Advance.....Tester
to write test cases for fuel guage?
write a test case for a pen and paper regarding writing.
Write a test case for a car, which has been, recently launch in a market to check its durability, fuel efficiency and its optimum speed.
Explain which test cases are written first black boxes or white boxes?