Exemplo n.º 1
0
        public void EqualsTest()
        {
            Rectangle a = new Rectangle(0, 0, 0, 0);
            Rectangle b = new Rectangle(0, 0, 0, 0);
            Rectangle c = new Rectangle(0, 0, 1, 1);

            Assert.AreEqual(a, b);
            Assert.AreNotEqual(a, c);
        }
Exemplo n.º 2
0
        public void EqualsTest()
        {
            var a = new Rectangle(0, 0, 0, 0);
            var b = new Rectangle(0, 0, 0, 0);
            var c = new Rectangle(0, 0, 1, 1);

            Assert.AreEqual(a, b);
            Assert.AreNotEqual(a, c);
        }