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


Please Help Members By Posting Answers For Below Questions

What does 100% statement coverage mean?

1811


Can you explain decision tables?

668


What are drawbacks in system development life cycle

1715


What is Pre UAT and UAT is there any difference ?

2979


How do you scope,organise and execute a test project.

1649






Are there more defects in the design phase or in the coding phase?

927


What is test management?

1431


what is the difference between Risk based and Requirement based testing???

1713


what are the testing appraoch that you have tested for Bread toaster

1912


Which is the best testing model?

600


If client give you a project then which testing you will perform first

715


What impact ratings have you used in your projects?

680


Which was the most interesting bug you found.

2466


what are the status have in QC(Test Management Tool). and how you report?

1460


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

3879