Example #1
0
        public void Creation_from_matching_color_returns_codel_with_matching_colour()
        {
            var colour = Color.FromArgb(255, 255, 255);
            var codel  = Bitmapping.Colour(colour);

            Assert.AreEqual(Colour.White, codel);
        }
Example #2
0
        public void Creation_from_not_matching_colour_returns_null()
        {
            var colour = Color.Brown;
            var codel  = Bitmapping.Colour(colour);

            Assert.Null(codel);
        }