public static void testResize() {
RetransmitTable table=new RetransmitTable(3, 10, 0);
assert table.capacity() == 30;
addAndGet(table, 30, "30");
addAndGet(table, 35, "35");
assert table.capacity() == 40;
addAndGet(table, 500, "500");
assert table.capacity() == 510;
addAndGet(table, 515, "515");
assert table.capacity() == 520;