public void ParseMowerCommand_WhenPassingNotAValidCommand_MustThrowException() { char ch = 'C'; MowerInput mowerInput = new MowerInput(); MowerInput.ParseMowerCommand(ch); }
public void ParseMowerCommand_WhenPassingValidCommand() { char ch = 'M'; MowerInput mowerInput = new MowerInput(); MowerCommand command = MowerInput.ParseMowerCommand(ch); Assert.AreEqual(MowerCommand.Move, command); }