@Test public void insert_givenChildIsFull_givenMulitpleKeysInRoot_thenJoinToRootWithSoring() throws Exception { ABTree.ABTreeNode[] children = {buildNode(-5), buildNode(1, 3, 4), buildNode(15)}; setField("root", buildNode(children, 0, 10)); ABTree.ABTreeNode[] exChildren = {buildNode(-5), buildNode(1, 2), buildNode(4), buildNode(15)}; ABTree.ABTreeNode expected = buildNode(exChildren, 0, 3, 10); insert(2); assertTree(expected); }
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);  }