FastStringBuffer buf = new FastStringBuffer(0);
assertEquals(0, buf.countNewLines());
buf.append('\r');
assertEquals(1, buf.countNewLines());
buf.append('\n');
assertEquals(1, buf.countNewLines());
buf.append('\n');
assertEquals(2, buf.countNewLines());
}
public void testDeleteLastChars() throws Exception {