public void TryParseText_ShouldReturnFalse_WhenBeginEqualsEnd() { Token token; TokenReader.TryParseText("some text", 10, 10, out token).Should().BeFalse(); }
public void TryParseText_ShouldReturnFalse_WhenEndGreaterThenInputLength() { Token token; TokenReader.TryParseText("some text", 2, 100, out token).Should().BeFalse(); }
public bool IsNumberWithUnderlines_ShouldReturnCorrectResult_When(string input, int begin, int end) { return(TokenReader.IsNumberWithUnderlines(input, begin, end)); }
public void TryParseText_ShouldReturnFalse_WhenBeginLessThenZero() { Token token; TokenReader.TryParseText("some text", -1, 10, out token).Should().BeFalse(); }