>># 
>># 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: trnsltcrdn.m,v 1.7 92/06/11 16:11:39 rws Exp $
>># 
>>#
>>TITLE XTranslateCoordinates CH03
>>ASSERTION A XTranslateCoordinates-1
A call to XTranslateCoordinates takes the src_x and src_y
coordinates relative to the source window's origin and
converts them to be relative to the destination window's
origin and returns these translated coordinates in
dest_x_return and dest_y_return.
>>STRATEGY
For some values of border_width:
	Create a window to be the source window.
	Create a child window to be the destination window.
	Map both windows.
	Translate coordinates of the parent window to the child using XTranslateCoordinates.
	Verify the returned coordinates were as expected.
>>ASSERTION C XTranslateCoordinates-2
When src_w and dest_w were not created on the same screen,
then a call to XTranslateCoordinates returns zero and
dest_x_return and dest_y_return are set to zero.
>>STRATEGY
If an alternate screen is supported:
	Create a mapped window on the default screen.
	Create a mapped window on the alternate screen.
	Verify XTranslateCoordinates returns zero.
	Verify that *dest_x_return is zero.
	Verify that *dest_y_return is zero.
>>ASSERTION A XTranslateCoordinates-3
When the coordinates are contained in a mapped child of
dest_w, then that child is returned in child_return.
>>STRATEGY
For some values of border_width:
	Create a window to be the source and destination windows.
	Create a sub window.
	Map both windows.
	Translate coordinates of the window to the child using XTranslateCoordinates.
	Verify the child_return window was the sub window.
>>ASSERTION A XTranslateCoordinates-4
When the coordinates are not contained in a mapped child of
dest_w, then child_return is set to None.
>>STRATEGY
Create a mapped window to be the source and destination windows.
Create an overlapping mapped sibling window.
Translate coordinates of the window using XTranslateCoordinates.
Verify the child_return window was None.
Verify the returned coordinates were as expected.
>>ASSERTION A XTranslateCoordinates-5
When a window argument does not name a valid window, then a
BadWindow error occurs.
>>STRATEGY
For src_w and dest_w:
	Set the argument to a bad window.
	Verify a BadWindow error occurs.
