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 test environment? Elaborate with example.
what are those parameters or matrixes for tesing a software user interface?
How to execute test cases written in excelsheet???
8 Answers TCS, Value Labs, VFS, Wipro,
A wholesaler sells printer cartridges. The minimum order quantity is 5. There is a 20% discount for orders of 100 or more printer cartridges. You have been asked to prepare test cases using various values for the number of printer cartridges ordered. Which of the following groups contain three test inputs that would be generated using boundary value analysis?
Please can anybody tell me some good ideas to write test case for fan and test case for chair?
Could you pls give me sites where i can test card? mail me to
Write test cases to test a browser app
test cases for landline phone
what is scenario? how to write scenario?
who will prepare enhacement report?mail me at gavaskarreddy149@gmail.com
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?
Write test case for a search engine?
12 Answers Saba, Saba Software,