예제 #1
0
        public void EqualsTest3()
        {
            Point pointA   = new Point(1, 0);
            Point pointB   = new Point(0, 1);
            bool  expected = false;
            bool  actual;

            actual = PointExtensions.Equals(pointA, pointB);
            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void EqualsTest1()
        {
            Point pointA   = new Point();
            Point pointB   = new Point();
            bool  expected = true;
            bool  actual;

            actual = PointExtensions.Equals(pointA, pointB);
            Assert.AreEqual(expected, actual);
        }