>># 
>># 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: frcrsr.m,v 1.8 92/06/11 17:06:09 rws Exp $
>># 
>>#      SCCS:  @(#)  ECur.mc Rel 1.8	    (2/21/92)
>>#
>>TITLE XFreeCursor CH06
>>ASSERTION B XFreeCursor-1
When another resource ID references the cursor, then a
call to XFreeCursor deletes the association between the
cursor resource ID and the specified cursor.
>>STRATEGY
Create cursor and cursor2 as same cursors.
Create window.
Define cursor for window.
Call XFreeCursor with cursor.
Call XFreeCursor with cursor2.
>>ASSERTION B XFreeCursor-2
When no other resource ID references the cursor, then a
call to XFreeCursor deletes the association between the
cursor resource ID and the specified cursor, and the cursor
storage is freed.
>>STRATEGY
Create cursor and cursor2 as same cursors.
Call XFreeCursor with cursor.
Call XFreeCursor with cursor2.
>>ASSERTION A XFreeCursor-3
When a cursor argument does not name a valid Cursor, then a
BadCursor error occurs.
>>STRATEGY
Create cursor with shape XT_FONTCURSOR_GOOD in font cursor.
Free cursor.
Call test function using bad cursor as the cursor argument.
Verify that a BadCursor error occurs.
