>># 
>># Copyright 1990, 1991 by the Massachusetts Institute of Technology and
>># UniSoft Group Limited.
>># 
>># Permission to use, copy, modify, distribute, and sell this software and
>># its documentation for any purpose is hereby granted without fee,
>># provided that the above copyright notice appear in all copies and that
>># both that copyright notice and this permission notice appear in
>># supporting documentation, and that the names of MIT and UniSoft not be
>># used in advertising or publicity pertaining to distribution of the
>># software without specific, written prior permission.  MIT and UniSoft
>># make no representations about the suitability of this software for any
>># purpose.  It is provided "as is" without express or implied warranty.
>># 
>># $XConsortium: eqlrgn.m,v 1.5 92/06/11 17:34:18 rws Exp $
>># 
>>#
>>TITLE XEqualRegion CH10
>>ASSERTION A XEqualRegion-1
When the regions r1 and r2 have the same offset, size and
shape, then a call to XEqualRegion returns True.
>>STRATEGY
Create two regions using XCreateRegion.
Set one region to the union of three rectangles one of which covers the other two using XUnionRectWithRegion.
Set the other region to the all encompassing region using XUnionRectWithRegion.
Verify that the call to XEqualRegion returns True.
>>ASSERTION A XEqualRegion-2
When the regions r1 and r2 do not have the same offset,
then a call to XEqualRegion returns False.
>>STRATEGY
Create regions R1 R2 using XCreateRegion.
Set R1 and R2 to the same region using XUnionRectWithRegion.
Offset R2 using XOffsetRegion.
Verify that a call to XEqualRegion returns False.
>>ASSERTION A XEqualRegion-3
When the regions r1 and r2 do not have the same size, then
a call to XEqualRegion returns False.
>>STRATEGY
Create regions R1 R2 using XCreateRegion.
Set R1 and R2 to the same region using XUnionRectWithRegion.
Change the size of R2 using XShrinkRegion.
Verify that a call to XEqualRegion returns False.
>>ASSERTION A XEqualRegion-4
When the regions r1 and r2 do not have the same shape, then
a call to XEqualRegion returns False.
>>STRATEGY
Create regions R1 R2 using XCreateRegion.
Set R1 and R2 to the same region using XUnionRectWithRegion.
Change R2 with disjoint rectangle using XUnionRectWithRegion.
Verify that a call to XEqualRegion returns False.
