Exemple #1
0
        public void Test_IgnoreInvalidPlaceCmd()
        {
            Robot robot = new Robot();

            Assert.IsFalse(robot.Place(new PlaceArguments()
            {
                Face = Direction.North,
                X = 10,
                Y = 10,
            })
            );
        }
Exemple #2
0
        private bool PlaceAtOrigin(Robot robot)
        {
           return ( robot.Place(new PlaceArguments()
            {

                Face = Direction.North,
                X = 0,
                Y = 0,
            }));
        }