public void ParseCompassDirection_WhenPassingNotValidCompassDirection_MustThrowException() { char ch = 'T'; MowerInput mowerInput = new MowerInput(); MowerInput.ParseCompassDirection(ch); }
public void ParseCompassDirection_WhenPassingValidCompassDirection() { char ch = 'N'; MowerInput mowerInput = new MowerInput(); CompassDirection direction = MowerInput.ParseCompassDirection(ch); Assert.AreEqual(CompassDirection.North, direction); }