Section 3

We need to calculate the test points for the rotation regions. We'll need these for the next part of our unit test. Let's take a look at the mirror cell again without the mirror and showing only the inside and outside regions.

We can ignore the "ignore region" and focus on the "inside" and "outside" click regions.

We can easily obtain the coordinates of the corners for each click region.


Now we imagine a line dividing the regions into half.

We can now describe several points of interest for testing.

Label Point Rotate
A 10@10 Clock Wise
B 20@10 Clock Wise
C 10@15 Clock Wise
D 20@15 Clock Wise
E 10@20 Counter Clock Wise
F 20@20 Counter Clock Wise
G 4@4 Clock Wise
H 26@4 Clock Wise
I 4@15 Clock Wise
J 26@15 Clock Wise
K 4@26 Counter Clock Wise
L 26@26 Counter Clock Wise
M 6@10 Clock Wise
N 22@13 Clock Wise
O 12@22 Counter Clock Wise

We're treating points that fall on the dividing line as if they belong to the upper half.

Index Page Next Page

Copyright © 2007, 2008, 2009, 2010 Stephan B Wessels    stevewessels@me.com