Beispiel #1
0
        public void GetNameReturnsName(KnownColor knownColor)
        {
#if !NET_2_0
            if ((short)knownColor > 167)
            {
                // can't assess these.
                return;
            }
#endif

            var name = KnownColors.GetName(knownColor);
            Assert.False(string.IsNullOrWhiteSpace(name));
        }