コード例 #1
0
        public void ShouldParseCommand(string input, int expectedX, int expectedY, Direction expecteDirection)
        {
            var command = PlaceCommand.Parse(input);

            Assert.NotNull(command);
            Assert.Equal(expectedX, command.X);
            Assert.Equal(expectedY, command.Y);
            Assert.Equal(expecteDirection, command.Direction);
        }