@Test public void insert_input0To500_integration() throws Exception { assertHeight(0); insert(LongStream.range(0, 1).mapToInt(value -> (int) value).toArray()); assertHeight(1); insert(LongStream.range(1, 10).mapToInt(value -> (int) value).toArray()); assertHeight(2); insert(LongStream.range(10, 20).mapToInt(value -> (int) value).toArray()); assertHeight(3); insert(LongStream.range(20, 50).mapToInt(value -> (int) value).toArray()); assertHeight(4); insert(LongStream.range(50, 200).mapToInt(value -> (int) value).toArray()); assertHeight(5); insert(LongStream.range(200, 500).mapToInt(value -> (int) value).toArray()); assertHeight(6); System.out.println(getString(test)); }
public void insert(int key) { throw new RuntimeException("Not Implemented"); }
ABTree { public void insert(int key) { throw new RuntimeException("Not Implemented"); } }
ABTree { public void insert(int key) { throw new RuntimeException("Not Implemented"); } ABTree(int a, int b); }
ABTree { public void insert(int key) { throw new RuntimeException("Not Implemented"); } ABTree(int a, int b); boolean validAB(); int height(); boolean find(int key); void insert(int key); boolean remove(int key); }
ABTree { public void insert(int key) { throw new RuntimeException("Not Implemented"); } ABTree(int a, int b); boolean validAB(); int height(); boolean find(int key); void insert(int key); boolean remove(int key);  }