private void inorderMany(AVLTree<Integer, Integer> b)
    {
        begin("0 9");
        Iterator<Integer> it = b.inorder(0, 9);
        for (int i = 1; i <= 9; ++i)
        {
            begin("" + i);
            assertTrue("has next", it.hasNext());
            assertExpected("next", i, it.next());
            end();
        }
        assertFalse("last has next", it.hasNext());
        end();

        begin("1 9");
        it = b.inorder(1, 9);
        for (int i = 1; i <= 9; ++i)
        {
            begin("" + i);
            assertTrue("has next", it.hasNext());
            assertExpected("next", i, it.next());
            end();
        }
        assertFalse("last has next", it.hasNext());
        end();

        begin("2 9");
        it = b.inorder(2, 9);
        for (int i = 2; i <= 9; ++i)
        {
            begin("" + i);
            assertTrue("has next", it.hasNext());
            assertExpected("next", i, it.next());
            end();
        }
        assertFalse("last has next", it.hasNext());
        end();

        begin("0 10");
        it = b.inorder(0, 10);
        for (int i = 1; i <= 10; ++i)
        {
            begin("" + i);
            assertTrue("has next", it.hasNext());
            assertExpected("next", i, it.next());
            end();
        }
        assertFalse("last has next", it.hasNext());
        end();

        begin("1 10");
        it = b.inorder(1, 10);
        for (int i = 1; i <= 10; ++i)
        {
            begin("" + i);
            assertTrue("has next", it.hasNext());
            assertExpected("next", i, it.next());
            end();
        }
        assertFalse("last has next", it.hasNext());
        end();

        begin("2 10");
        it = b.inorder(2, 10);
        for (int i = 2; i <= 10; ++i)
        {
            begin("" + i);
            assertTrue("has next", it.hasNext());
            assertExpected("next", i, it.next());
            end();
        }
        assertFalse("last has next", it.hasNext());
        end();

        begin("0 11");
        it = b.inorder(0, 11);
        for (int i = 1; i <= 10; ++i)
        {
            begin("" + i);
            assertTrue("has next", it.hasNext());
            assertExpected("next", i, it.next());
            end();
        }
        assertFalse("last has next", it.hasNext());
        end();

        begin("1 11");
        it = b.inorder(1, 11);
        for (int i = 1; i <= 10; ++i)
        {
            begin("" + i);
            assertTrue("has next", it.hasNext());
            assertExpected("next", i, it.next());
            end();
        }
        assertFalse("last has next", it.hasNext());
        end();

        begin("2 11");
        it = b.inorder(2, 11);
        for (int i = 2; i <= 10; ++i)
        {
            begin("" + i);
            assertTrue("has next", it.hasNext());
            assertExpected("next", i, it.next());
            end();
        }
        assertFalse("last has next", it.hasNext());
        end();
    }