public void TestRotateCounterClockwise()
        {
            RectangleBoard rb = new RectangleBoard();

            rb.RotateCounterClockwise();
            Assert.AreEqual(3, rb.direction);
        }
        public void TestIsOutside()
        {
            RectangleBoard rb = new RectangleBoard();

            rb.SetSize(4, 4);
            rb.SetPosition(-1, 2);
            Assert.AreEqual(true, rb.IsOutside());
        }
        public void TestSetPosision()
        {
            RectangleBoard rb = new RectangleBoard();

            rb.SetPosition(2, 2);
            Assert.AreEqual(2, rb.x);
            Assert.AreEqual(2, rb.y);
        }
        public void TestSetSize()
        {
            RectangleBoard rb = new RectangleBoard();

            rb.SetSize(4, 4);
            Assert.AreEqual(4, rb.xLength);
            Assert.AreEqual(4, rb.yLength);
        }
        public void TestDoCommand()
        {
            RectangleBoard rb = new RectangleBoard();

            rb.SetSize(4, 4);
            rb.SetPosition(2, 2);
            rb.DoCommand(3);
            Assert.AreEqual(2, rb.direction);
        }
        public void TestMove()
        {
            RectangleBoard rb = new RectangleBoard();

            rb.SetSize(4, 4);
            rb.SetPosition(2, 2);
            rb.Move(1);
            Assert.AreEqual(2, rb.x);
            Assert.AreEqual(1, rb.y);
        }