@Test public void remove_givenKeyInChildLeft_given2KeysInRoot_returnsTrue() throws Exception { ABTree.ABTreeNode[] children = {buildNode(-5), buildNode(-1), buildNode(5)}; setField("root", buildNode(children, -2, 0)); ABTree.ABTreeNode[] exChildren = {buildNode(-2, -1), buildNode(5)}; ABTree.ABTreeNode expected = buildNode(exChildren, 0); Assert.assertTrue(getString(test), test.remove(-5)); assertTree(expected); }
public boolean remove(int key) { throw new RuntimeException("Not Implemented"); }
ABTree { public boolean remove(int key) { throw new RuntimeException("Not Implemented"); } }
ABTree { public boolean remove(int key) { throw new RuntimeException("Not Implemented"); } ABTree(int a, int b); }
ABTree { public boolean remove(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 boolean remove(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);  }