Example #1
0
        public void ColorRGBA32_GetHashCode()
        {
            byte r = (byte)NextComponent(byte.MaxValue);
            byte g = (byte)NextComponent(byte.MaxValue);
            byte b = (byte)NextComponent(byte.MaxValue);
            byte a = (byte)NextComponent(byte.MaxValue);

            ColorRGBA32 v = new ColorRGBA32(r, g, b, a);

            Assert.DoesNotThrow(() => v.GetHashCode());
        }