예제 #1
0
            public void EqualsWithDifferentColoursReturnsFalse()
            {
                var c1 = new Color.RGB(240, 150, 9);
                var c2 = new Color.RGB(240, 150, 10);

                Assert.IsFalse(c1.Equals(c2));
            }
예제 #2
0
            public void EqualsWithSameColoursReturnsTrue()
            {
                var c1 = new Color.RGB(240, 150, 9);
                var c2 = new Color.RGB(240, 150, 9);

                Assert.IsTrue(c1.Equals(c2));
            }