public void ItDoesLookahead(string input, int count, bool eHas, char eChar) { var result = new LookAheadStream<char>(input).LookAhead(count); Assert.AreEqual(eHas, result.HasCharactersUpTo); Assert.AreEqual(eChar, result.Value); }