예제 #1
0
        public void Test_TurtleTest_Escape_Ok()
        {
            var startPosition = new Point()
            {
                X = 10, Y = 20
            };
            Turtle turtle = new Turtle(startPosition, Direction.North);

            turtle.Escape();
            Assert.AreEqual(turtle.Status, TurtleState.Escaped);
        }