Example #1
0
        public void ConvertPlaceInStructuredData()
        {
            IInterpreter interpreter = new CommandInterpreter();

            var convert = interpreter.Convert("PLACE 0,0,NORTH");

            convert.Should().Be(new Action
            {
                ActionType = ActionType.Place,
                Position   = (0, 0),
                Facing     = new North()
            });