>># 
>># 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: crtpxmp.m,v 1.9 92/06/11 16:15:43 rws Exp $
>># 
>>#      SCCS:  @(#)  EAll.mc Rel 1.5	    (3/12/92)
>>#      SCCS:  @(#)  EDra.mc Rel 1.5	    (10/25/91)
>>#
>>TITLE XCreatePixmap CH05
>>ASSERTION A XCreatePixmap-1
A call to XCreatePixmap creates a pixmap of width width,
height height, and depth depth on the same screen as the
drawable argument d, and returns a pixmap ID.
>>STRATEGY
For each supported pixmap depth:
  Create a pixmap of height 13, width 17.
  Verify the depth, height and width with XGetGeometry.
>>ASSERTION A XCreatePixmap-2
When the drawable argument d is an InputOnly window, then
no error occurs.
>>STRATEGY
For each supported pixmap depth:
  Create an InputOnly window.
  Call XCreatePixmap with the window as the drawable argument.
  Verify that no error occurred.
>>ASSERTION A XCreatePixmap-3
When either the width argument or height argument is zero,
then a BadValue error occurs.
>>STRATEGY
For each supported pixmap depth:
  Create a pixmap with height = 17 and width = 0 with XCreatePixmap.
  Verify that a BadValue error occurred.
  Create a pixmap with height = 0 and width = 19 with XCreatePixmap.
  Verify that a BadValue error occurred.
>>ASSERTION A XCreatePixmap-4
When the depth depth is not supported by the screen of the
drawable d, then a BadValue error occurs.
>>STRATEGY
Call XCreatePixmap with depth argument set to the 
	sum of all supported pixmap depths plus 1.
Verify that a BadValue error occurred.
>>ASSERTION B XCreatePixmap-5
When the server fails to allocate a required resource, then
a BadAlloc error occurs.
>>STRATEGY
Report UNTESTED
>>ASSERTION A XCreatePixmap-6
When a drawable argument does not name a valid Drawable,
then a BadDrawable error occurs.
>>STRATEGY
Create a bad drawable by creating and destroying a window.
Call test function using bad drawable as the drawable argument.
Verify that a BadDrawable error occurs.
