>># 
>># 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: mtchvslinf.m,v 1.6 92/06/11 17:37:42 rws Exp $
>># 
>>#
>>TITLE XMatchVisualInfo CH10
>>ASSERTION A XMatchVisualInfo-1
When a visual exists on screen screen of depth depth and of
class class, then a call to XMatchVisualInfo returns the
associated XVisualInfo structure in the vinfo_return
argument, and returns non-zero.
>>STRATEGY
Initialise the list of class/depth pairs from parameter XT_VISUAL_CLASSES.
For each class/depth pair:
  Call XMatchVisualInfo.
  Verify that XMatchVisualInfo does not return zero.
  Verify that class and depth of returned structure are correct.
>>ASSERTION A XMatchVisualInfo-2
When a visual does not exist on screen screen of depth
depth and of class class, then a call to XMatchVisualInfo
returns zero.
>>STRATEGY
Call XMatchVisualInfo with depth zero.
Verify that XMatchVisualInfo returns zero.
