verify if the shape is indeed a circle by checking the radius (shd be half of the diameter) by checking the diameter (diameter shd be twice that of the radius).

Indeed 1) Starting point should be the end point, but 2) Verifying at the regular intervals that radius is same. If suppose radius (r) = 5 at 0 deg of angle then r = 5 at 45, 90, 135,180, 270 and 360 deg of angle.

1. It should pass through 3 distinct points lying in the same plane. 2. All lines joining 2 opposite points on this object should pass through a single point and have same dimension(length).

## What are the most important test case for the circle?

sdkhadekarProfile Answers by sdkhadekar Questions by sdkhadekar

Questions by sdkhadekar

## Editorial / Best Answer

kurtz182Profile Answers by kurtz182 Questions by kurtz182

TESTING A CIRCLE

Using simple words that do not imply knowledge of mathematical jargon, I would write these three test cases:

Precondition:

There is a figure drawn on a piece of paper.

TC1) It is a closed figure.

TC2) It has a center point.

TC3) The distance from center point to closest point on figure is equal in all directions.

## Related Answered Questions

## Related Open Questions