public void UTShift()
        {
            White_rectangle RO = new White_rectangle();

            UTDraw(RO);
            Point p = new Point(10, 10);

            RO.Shift(p);
            Assert.AreEqual(p, RO.LeftTop);
        }
        public void UTNeg_hit()
        {
            White_rectangle RO = new White_rectangle();

            UTDraw(RO);
            Point p        = new Point(7, 9);
            bool  actual   = RO.Hit_testing(p);
            bool  expected = false;

            Assert.AreEqual(expected, actual);
        }
        public void UTPos_hit()
        {
            White_rectangle RO = new White_rectangle();

            UTDraw(RO);
            Point p        = new Point(3, 2);
            bool  actual   = RO.Hit_testing(p);
            bool  expected = true;

            Assert.AreEqual(expected, actual);
        }
        public void UTShift_Hit_neg()
        {
            White_rectangle RO = new White_rectangle();

            UTDraw(RO);
            Point p = new Point(10, 10);

            RO.Shift(p);
            Point p1       = new Point(7, 9);
            bool  actual   = RO.Hit_testing(p1);
            bool  expected = false;

            Assert.AreEqual(expected, actual);
        }
 public void UTDraw(White_rectangle RO)
 {
     ////RO.LeftTop = new Point(2, 4);
     ////RO.RightBottom = new Point(4, 1);
     //Graphics gr = new Graphics();
 }