>># 
>># 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: stwdwbrdr.m,v 1.7 92/06/11 16:10:47 rws Exp $
>># 
>>#      SCCS:  @(#)  EMat4.mc Rel 1.3	    (7/19/91)
>>#      SCCS:  @(#)  EWin.mc Rel 1.4	    (7/19/91)
>>#
>>TITLE XSetWindowBorder CH03
>>ASSERTION A XSetWindowBorder-1
A call to XSetWindowBorder sets the border of the window to
the pixel value specified by border_pixel.
>>STRATEGY
Create a window, with a wide, tiled, border.
Set the border-pixel by calling XSetWindowBorder.
Unmap then remap the window, to ensure the border change occurs.
Get the border-pixel.
Verify the border pixel was set.
Reset the border-pixel by calling XSetWindowBorder.
Unmap then remap the window, to ensure the border change occurs.
Get the border-pixel.
Verify the border pixel was set.
>>ASSERTION A XSetWindowBorder-2
When the border pixel value is changed, then the border is
repainted.
>>STRATEGY
Create a window with a wide, tiled border.
Set the border-pixel by calling XSetWindowBorder.
Unmap then remap the window, to ensure the border change occurs.
Get the border-pixel.
Verify the border pixel was set.
>>ASSERTION A XSetWindowBorder-3
The border pixel value is truncated to the depth of the
window.
>>STRATEGY
For each visual
  Set border-pixel to various values.
  Read one pixel back from the border.
  Verify that this pixel has been truncated to depth of window.
>>ASSERTION A XSetWindowBorder-4
When the window argument is an InputOnly window then a
BadMatch error occurs.
>>STRATEGY
Create an InputOnly window.
Call test function using InputOnly window as the window argument.
Verify that a BadMatch error occurs.
>>ASSERTION A XSetWindowBorder-5
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.
