public void testAppendN() throws Exception {
FastStringBuffer buf = new FastStringBuffer(0);
assertEquals(" ", buf.appendN(' ', 3).toString());
assertEquals(" ", buf.clear().appendN(" ", 3).toString());
assertEquals(" aaa", buf.appendN('a', 3).toString());
assertEquals(" aaabbbbbb", buf.appendN("bb", 3).toString());
}
public void testStartsWith() throws Exception {
FastStringBuffer buf = new FastStringBuffer(0);
assertFalse(buf.startsWith('"'));