Пример #1
0
        public void CommandForRobot_PlaceValidPositionOnTable_ShouldPlaceRobotForValidPositino()
        {
            Robot        robot        = new Robot();
            PlaceCommand placecommand = new PlaceCommand(robot);
            Table        table        = new Table(5, 5);
            bool         IsCommandPlaced;

            IsCommandPlaced = placecommand.execute(new Position(3, 4, "NORTH"));

            Assert.AreEqual(true, IsCommandPlaced, "The Place command is not valid");
        }