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 ?    13 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which criteria should take in account while doing CMS testing of any project?

1308


What kind of input do we need from the end user to begin proper testing?

953


how to generate id in testdirector? a) Td id 1 b) td id 2 c) td id 3 d) td id 4 which is correct answer please any one of the tell me and mail me

1794


Explain Testing process in your organization?

1079


Can you explain regression testing and confirmation testing?

699






What are microsoft 6 rules?

773


Test approach to windows scheduler?

1650


14.What is function point breakdown?

2242


Hi, this is murthysharma. I need very urgently about some terms which are used in use cases? Plz give reply to me, if any body know, It is really very very urgent. 1. what is the difference between basic flow,exception flow and alternative flow? 2.what are non-functional requirements in use cases? 3.what are exceptions, special requirements, business rules, assumptions, constraints. Kindly give me with the example. Bcoz, I am very new to this use cases. thanks in Advance. Regards, M.MurthySharma

1526


What are the possible test scenarios around AVS check of any credit card? (Testing through payment gateway online) (What are the fields we should check while checking AVS and CVV)

1118


how to verify a button size (e.g Login Button) on a web page have same dimension prescribed by Client in UI Testing..??

1153


How can I use bugzilla in my company to track a bug and to allow the client to see the bug report online throughbugzilla. Please explain in detail. I am really need this.

2629


What is meant by entry criteria and exit criteria in software testing?

675


what are the Cs in testing

1627


How a test engineer will convince a test lead when he didn't approve the bug as a report ???

1161