assertEquals('f', (char) reader.read());
assertEquals(PythonCodeReader.EOF, reader.read());
}
public void testForwardComments() throws Exception {
reader = new PythonCodeReader();
doc = new Document("fe\n#too\nh");
reader.configureForwardReader(doc, 0, doc.getLength(), true, true, true);
assertEquals('f', (char) reader.read());
assertEquals('e', (char) reader.read());
assertEquals('\n', (char) reader.read());