@Test
public void testNestedTable() {

    Table t1 = new Table(2, 2, 0);
    t1.set(0, 0, "0x0/1");
    t1.set(0, 1, "0x1/1");
    t1.set(1, 1, "1x1/1");
    Table t2 = new Table(2, 2, 0);
    t2.set(0, 1, "0x1/2");
    t2.set(1, 0, "1x0/2");
    t2.set(1, 1, "1x1/2");
    Table t3 = new Table(2, 2, 0);
    t3.set(0, 0, "0x0/3");
    t3.set(0, 1, "0x1/3");
    t3.set(1, 0, "1x0/3");
    t3.set(1, 1, "1x1/3");
    t1.set(1, 0, t2);
    t2.set(0, 0, t3);
    assertEquals("" + "┌─────────────────┬─────┐\n" + "│0x0/1            │0x1/1│\n" + "├─────┬─────┬─────┼─────┤\n" + "│0x0/3│0x1/3│0x1/2│1x1/1│\n" + "├─────┼─────┤     │     │\n" + "│1x0/3│1x1/3│     │     │\n" + "├─────┴─────┼─────┤     │\n" + "│1x0/2      │1x1/2│     │\n" + "└───────────┴─────┴─────┘\n" + "", t1.toString());
}