public void ParseShouldReturnOptionCharNone() { // Arrange var s = "not a char"; Option <char> expected = None; // Act var result = CharType.Parse(s); // Assert result.Should().Be(expected); }
public void ParseShouldReturnOptionCharSome() { // Arrange var s = "A"; Option <char> expected = Some('A'); // Act var result = CharType.Parse(s); // Assert result.Should().Be(expected); }