write a test case for triangle?

Answers were Sorted based on User's Feedback



write a test case for triangle?..

Answer / durga

1. Check if there are 3 sides
2. Check for the angles and their sum[should be 180degrees]
3. Check if the triangle is equilateral or isosceles or
scalene
4. Check if the sides are coinciding or not
5. Check if the triangle is right-angled isosceles, there
is a right angle or not.
6. Check if a triangle is right-angled isosceles whether
the Pythogaras law is observed.
7. Check if the triangle is acute or obtuse or right-angles
8. Check if the triangle is isosceles, the opposite angles
are equal or not.
9. Check if the triangle is equilateral, all the angles are
equal or not[i.e., 60degrees]
10. Check if the axioms SAS,SSS are followed.
11. Check if the user is able to draw the 3 circles
[interior,exterior,circumcirlce]

Is This Answer Correct ?    27 Yes 0 No

write a test case for triangle?..

Answer / kyle

Why not:

1) should have 3 lines
2) no one lines length can be greater than or equal to the
sum of the other two
3) the endpoints of the 3 lines should be connected

Is This Answer Correct ?    11 Yes 2 No

write a test case for triangle?..

Answer / deepak

The most important criteria to be checked is:
>equilateral if all three sides are of equal length,
>isosceles if any two sides are of equal length,
>scalene if no two sides are the same length.
Based on these we can derive the test cases

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Test Cases Interview Questions

why we need a test plan

11 Answers  


can anybody tell me that how many days required to complete 1000 test cases.And what would be the avg testcase perday for a tester.

2 Answers  


Roads concatenation Problem Consider we have some GIS (Geo Information System) operating over some road network. Each road represented as array of two-dimensional geographical points. Road network is a set of roads. System has function called Concatenate(). This function takes raw road network and should return optimized road network. Optimization lies in concatenating roads with matching start or end points, i.e. if road AB end point matches road BC start point, then optimized network should contain concatenated road AC. Optimized network shouldn’t contain two roads which can be concatenated. Your task is to suggest set of test cases for Concatenate() function in order to make sure it works correctly. public interface IPoint { double Lat { get; } double Lon { get; } } public Road : List<IPoint> { } public RoadNetwork : List<Road> { } public RoadNetwork Concatenate(RoadNetwork roads);

0 Answers   Infosys,


write the test cases for how do u send a message in mobile

8 Answers   Subex, Wipro,


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

2 Answers   IBM,






how to write test case on gmail for TO field in compose page? only for the particular field.what will different type of user do with it like student,doctor?

0 Answers   PMC,


how to test stand alone programs?

0 Answers   Accenture, Google,


What are the test cases for mouse?

0 Answers  


write a test cases for WLAN

0 Answers  


pls i want test cases for oss? whts the process of oss testing

0 Answers   TCS,


Please give me a test case scenario for search engine covering all the fuctionalities

2 Answers  


I have register form there is first name field.what will be the steps to execute test case???

2 Answers  


Categories