@@ -0,0 +1,3124 @@
+/* Ben Eggers%0A *%0A * Tests for all our beautiful BSTs. This is a pretty kludgy test suite so don't%0A * copy its style--I only did it like this because I don't want to fight with%0A * CLI JUnit.%0A**/%0A%0Aimport java.util.*;%0A%0Apublic class Tests %7B%0A%0A%0A    public static void main(String%5B%5D args) %7B%0A        int fails = 0;%0A%0A        fails += testConstructors();%0A        fails += testSize();%0A        fails += testInsertThenSize();%0A        fails += testInsertThenGet();%0A        fails += testInsertThenRemove();%0A        fails += testInOrderTraversalSorted();%0A        fails += testBSTHeight();%0A        fails += testBSTBranchingNumbers();%0A%0A        System.out.println();%0A%0A        // It's like our own hack-y JUnit!%0A        if (fails == 0) %7B%0A            System.out.println(%22All tests passed!%22);%0A        %7D else %7B%0A            System.out.println(%22FAILURES!!!!%22);%0A        %7D%0A    %7D%0A%0A    // Tests the constructors, prpublic static inting out a %22.%22 for each passed test or a%0A    // %22E%22 and some information for a failed test. Returns the number of%0A    // failed tests.%0A    public static int testConstructors() %7B%0A        return 0;%0A    %7D%0A%0A    // Tests the size() method, prpublic static inting out a %22.%22 for each passed test or a%0A    // %22E%22 and some information for a failed test. Returns the number of%0A    // failed tests.%0A    public static int testSize() %7B%0A        return 0;%0A    %7D%0A%0A    // Tests that the insert() method increases the size, prpublic static inting out a %22.%22%0A    // for each passed test or a %22E%22 and some information for a failed test.%0A    // Returns the number of failed tests.%0A    public static int testInsertThenSize() %7B%0A        return 0;%0A    %7D%0A%0A    // Tests that the get() method retrieves things that have been inserted,%0A    // prpublic static inting out a %22.%22 for each passed test or a %22E%22 and some information%0A    // for a failed test. Returns the number of failed tests.%0A    public static int testInsertThenGet() %7B%0A        return 0;%0A    %7D%0A%0A    // Tests that the remove() method can remove things that have been inserted,%0A    // prpublic static inting out a %22.%22 for each passed test or a %22E%22 and some information%0A    // for a failed test. Returns the number of failed tests.%0A    public static int testInsertThenRemove() %7B%0A        return 0;%0A    %7D%0A%0A    // Tests that the inOrderTraversal() method returns a sorted list,%0A    // prpublic static inting out a %22.%22 for each passed test or a %22E%22 and some information%0A    // for a failed test. Returns the number of failed tests.%0A    public static int testInOrderTraversalSorted() %7B%0A        return 0;%0A    %7D%0A%0A    // Tests that BSTs (and only BSTs) have the correct height,%0A    // prpublic static inting out a %22.%22 for each passed test or a %22E%22 and some information%0A    // for a failed test. Returns the number of failed tests.%0A    public static int testBSTHeight() %7B%0A        return 0;%0A    %7D%0A%0A    // Tests that BSTs (and only BSTs) have the correct branching numbers,%0A    // prpublic static inting out a %22.%22 for each passed test or a %22E%22 and some information%0A    // for a failed test. Returns the number of failed tests.%0A    public static int testBSTBranchingNumbers() %7B%0A        return 0;%0A    %7D%0A%7D%0A

set up hacky test file