예제 #1
0
        public void Multiply()
        {
            Assert.True(Rgba32.Multiply(Backdrop, Rgba32.Black) == Rgba32.Black);
            Assert.True(Rgba32.Multiply(Backdrop, Rgba32.White) == Backdrop);

            Rgba32 multiply = Rgba32.Multiply(Backdrop, Source);

            Assert.True(multiply == new Rgba32(0, 41, 0));
        }