예제 #1
0
        public void CSSColorParseConstTest()
        {
            var color = CSSColor.ParseConstant("black");

            color.Should().NotBeNull();

            color.A.Should().BeGreaterOrEqualTo(255);
            color.R.Should().BeGreaterOrEqualTo(0);
            color.G.Should().BeGreaterOrEqualTo(0);
            color.B.Should().BeGreaterOrEqualTo(0);
        }