how to write test case for triangle and sqaure?
Answer Posted / lakshmi
For Triangle:
1. Check if there are 3 sides
2. Check for the angles and their sum [should be
180 degrees]
3. Check if the triangle is equilateral or
isosceles or
Scalene
4. Check if the sides are coinciding or not
5. Check if the axioms SAS, SSS are followed.
6. Check if the user is able to draw the 3 circles
[Interior, exterior, circumcirlce]
For Square:
1. Check if there are 4 sides
2. Check if the four angles should be in 90 degrees.
3. Check if the four sides are in equal length or not.
4. Check if the sides are coinciding or not.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Can you explain the pdca cycle and where testing fits in?
What is a failure?
What types of documentation are used in qa?
How will you prepare traceability matrix if there is no Business Doc and Functional Doc?
what is the architecture of your current project?
Enlist some bug status along with its description?
Explain the procedure for manual testing.
What is neutral test case?
What are the roles of glass-box and black-box testing tools?
There are some features to improve the performance of a Product. What are those factors?
what are metrics and what are metrics did u collect in you are project
Hi, I want "Intergraph" placement papers for experienced people which was conducted recently in Hyderabad. Thanks, Purnima.
What are the advantages of automation over manual testing?
Can any one give a summary of testing a territory management system? what would be the test scenarios, few test cases. how it works.
How do you get programmers to build testability support into their code?