Exemplo n.º 1
0
        public void AddFunction <TPixel>(TestPixel <TPixel> back, TestPixel <TPixel> source, float amount, TestPixel <TPixel> expected)
            where TPixel : struct, IPixel <TPixel>
        {
            TPixel actual = PorterDuffFunctions.Add((TPixel)back, source, amount);

            VectorAssert.Equal(expected, actual, 2);
        }