Converting user-defined test suite into tester library tests. Suppose your tests are run as follows: public class TestRBTree { /** Runs the tests. * @param args command line arguments. */ public static void main(String[] args) { TestRBTree erbt = new TestRBTree(); //create the trees erbt.createRBTs(); erbt.testContains(); erbt.testNodeAndLeaf(); erbt.summaryOfResults(); System.out.println("done"); } with the rest of the code below. Make the following changes: -- change the name of the class to ExamplesTestRBTree -- change the name of the file to ExamplesTestRBTree -- add the following method: /** * test all * @param t The tester that runs the tests */ public void testAll(Tester t) { ExamplesTestRBTree erbt = new ExamplesTestRBTree(); //create the trees erbt.createRBTs(); erbt.testContains(); erbt.testNodeAndLeaf(); erbt.summaryOfResults(); System.out.println("done"); } -- modify the main method as follows: /** Runs the tests. * @param args command line arguments. */ public static void main(String[] args) { ExamplesTestRBTree erbt = new ExamplesTestRBTree(); Tester.run(erbt); /* --- comment out the original tests ---- //create the trees erbt.createRBTs(); erbt.testContains(); erbt.testNodeAndLeaf(); erbt.summaryOfResults(); System.out.println("done"); */ } -- add import tester.*; at the top of the file