>># 
>># 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: gtmtnevnts.m,v 1.10 92/06/11 17:22:02 rws Exp $
>># 
>>#      SCCS:  @(#)  EWin.mc Rel 1.4	    (7/19/91)
>>#
>>TITLE XGetMotionEvents CH08
>>ASSERTION D XGetMotionEvents-1
If the implementation supports a more complete history of
the pointer motion than is reported by event notification: a
call to XGetMotionEvents returns all events in the motion
history buffer that fall between the start and stop times,
inclusive, which have coordinates that lie within the
specified window (including its borders) at its present
placement and sets nevents_return to the number of events
returned.
>>STRATEGY
If a pointer motion buffer is not supported, return.
>>ASSERTION C XGetMotionEvents-2
If the implementation does not support a more complete
history of pointer motion than is reported by event
notification: a call to XGetMotionEvents returns no events.
>>STRATEGY
If a pointer motion buffer is supported, return.
Call XGetMotionEvents.
Verify that no events were returned.
>>ASSERTION A XGetMotionEvents-3
When start is later than stop, then a call to
XGetMotionEvents returns no events.
>>STRATEGY
Set stop to current time.
Call XGetMotionEvents with start greater than stop.
Verify that no events were returned.
>>ASSERTION A XGetMotionEvents-4
When start is in the future, then a call to
XGetMotionEvents returns no events.
>>STRATEGY
Set stop to current time.
Set start to a future time.
Call XGetMotionEvents.
Verify that no events were returned.
>>ASSERTION B XGetMotionEvents-5
A call to XGetMotionEvents with stop in the future, is
equivalent to specifying a value of CurrentTime for stop.
>>STRATEGY
Report UNTESTED
>>ASSERTION D XGetMotionEvents-6
On a call to XGetMotionEvents the x and y members of the
events returned are set to the coordinates of the pointer
relative to the origin of the specified window and the time
member is set to the time the pointer reached this
coordinate.
>>STRATEGY
Report UNTESTED
>>ASSERTION A XGetMotionEvents-7
When a window argument does not name a valid Window, then a
BadWindow error occurs.
>>STRATEGY
Create a bad window by creating and destroying a window.
Call test function using bad window as the window argument.
Verify that a BadWindow error occurs.
