public void UTShift_Hit_neg()
        {
            Lost_message RO = new Lost_message();

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

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

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

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

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

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

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

            UTDraw(RO);
            Point p  = new Point(10, 10);
            Point p1 = new Point(5, 8);

            RO.Hit_testing(p);
            RO.Shift(p1);
            if (p1.Equals(RO.LeftTop))
            {
                Assert.AreEqual(p1, RO.LeftTop);
            }
            else
            {
                Assert.AreEqual(p1, RO.RightBottom);
            }
        }