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 |
what is scenario? how to write scenario?
Can any one send me the Sample sanity Test Cases??? Mail id:veerabhadrudu.p@gmail.com
could somebody plz tell me the test cases on online credit card payment?
Explain the acceptance testing?
Write a test case for yahoo
Suppose an Application has been maintain from 4 years, we have written 5000 test cases for that. Now the functional flow has been changed for a Page. If I want to write test cases for that newly built page. How can I find what was there in that page 4 years back? How can we traced out? What is the best way to find test cases other than tracability?
Credit card field contains four text boxes. We can validate each textbox separately with conditions but how can we write integrated testcase for all the four?
Give me a sample test case for an online purchasing system?What testings u do for the same ?
8 Answers Flipkart, NIIT, Polaris, SQTL, TCS,
How to write the test cases for STP
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.
Write test caes on 1.excel sheet 2. gmail attachments 3.raiway ticketing 4.negative test cases on net banking
Explain the format of a requirement traceability