Example #1
0
        public void Color4ToString_White_Is1()
        {
            var testInput = Color4.White;
            var expected  = "(1,1,1)";
            var result    = S2VXUtils.Color4ToString(testInput);

            Assert.AreEqual(expected, result);
        }
Example #2
0
        public void Color4ToString_Black_Is0()
        {
            var testInput = Color4.Black;
            var expected  = "(0,0,0)";
            var result    = S2VXUtils.Color4ToString(testInput);

            Assert.AreEqual(expected, result);
        }
 protected override string ToEndValue() => S2VXUtils.Color4ToString(EndValue);
 protected override string ToStartValue() => S2VXUtils.Color4ToString(StartValue);