public void ConvertLetterToMoveType_Should_ThrowException(char inputCommand) { Func <MoveType> convertFunction = () => CommandParser.ConvertLetterToMoveType(inputCommand); convertFunction.Should().Throw <Exception>(); }
public void ConvertLetterToMoveType_ShouldConvert(char inputCommand, MoveType excepted) { MoveType output = CommandParser.ConvertLetterToMoveType(inputCommand); output.Should().Be(excepted); }