>># 
>># 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: lkpclr.m,v 1.7 92/06/11 16:16:38 rws Exp $
>># 
>>#
>>TITLE XLookupColor CH05
>>ASSERTION A XLookupColor-1
A call to XLookupColor obtains the exact and closest
available RGB values for the colormap argument to those
specified for the colour named color_name in the database,
and stores the exact values in the red, green and blue
components of the XColor structure named by the
exact_def_return argument, and stores the closest available
values in the red, green and blue components of the XColor
structure named by the screen_def_return argument.
>>STRATEGY
For each visual class:
  Create a colourmap with alloc set to AllocNone.
  Lookup the exact and closest supported rgb values 
    for colour XT_GOOD_COLORNAME with XLookupColor.
  Verify that the function returned non-zero.
  Allocate a read/only cell using returned RGB values with XAllocColor 
    (which is assumed to return correct RGB values) .
  Verify that the RBG values from both calls are identical.
    (so XLookupColor previously returned correct RGB values)
>>ASSERTION A XLookupColor-2
Upper and lower case characters in the color_name argument
refer to the same colour.
>>STRATEGY
For each supported visual type:
  Create a colomap with alloc set to AllocNone.
  Look up the rgb value of the colour name XT_GOOD_COLORNAME 
    in the database with XLookupNamedColor.
  Look up the rbg value of the colour name XT_GOOD_COLORNAME, 
    with alternating characters in alternating case,
    in the colourmap with XAllocNamedColor.
  Verify that the function returned non-zero.
  Verify that the exact and closest supported rbg values from both calls 
    are identical.
>>ASSERTION A XLookupColor-3
When the color_name argument refers to a colour in the
colour database, then XLookupColor returns non-zero.
>>STRATEGY
For each supported visual class:
  Create a colormap with XCreateColormap.
  Lookup the rgb values for XT_GOOD_COLOR_NAME with XLookupColor.
  Verify that the function returned non-zero.
>>ASSERTION A XLookupColor-4
When the color_name argument does not refer to a colour in
the colour database, then XLookupColor returns zero.
>>STRATEGY
For each supported visual class:
  Create a colormap with XCreateColormap.
  Lookup the rgb values for XT_BAD_COLORNAME with XLookupColor.
  Verify that the function returned zero.
