public static void testDumpMatrix() {
RetransmitTable table=new RetransmitTable(3, 10, 1);
long[] seqnos={1,3,5,7,9,12,14,16,18,20,21,22,23,24};
for(long seqno: seqnos)
table.put(seqno, MSG);
System.out.println("matrix:\n" + table.dumpMatrix());
}
public static void testMassAddition() {
RetransmitTable table=new RetransmitTable(3, 10, 0);