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
What does 100% statement coverage mean?
Can you explain decision tables?
What are drawbacks in system development life cycle
What is Pre UAT and UAT is there any difference ?
How do you scope,organise and execute a test project.
Are there more defects in the design phase or in the coding phase?
What is test management?
what is the difference between Risk based and Requirement based testing???
what are the testing appraoch that you have tested for Bread toaster
Which is the best testing model?
If client give you a project then which testing you will perform first
What impact ratings have you used in your projects?
Which was the most interesting bug you found.
what are the status have in QC(Test Management Tool). and how you report?
HI, This question is Investment Banking domain related Question. I was asked in an Interview to tell the 5 test cases for Equity,Bond,Futures and options. Please help.. Pragya