public void ScoreCardCharacterTypeParser_ReturnsProperEnum(char character, ScoreSheetCharacterTypeEnum expected) { ScoreSheetCharacterTypeParser.TryParse(character, out ScoreSheetCharacterTypeEnum result); Assert.AreEqual(result, expected); }
public void ScoreCardCharacterTypeParser_CantParse(char character) { Assert.IsFalse(ScoreSheetCharacterTypeParser.TryParse(character, out ScoreSheetCharacterTypeEnum _)); }