/** java HW1Test should test the methods defined in Progs. * @author */ public class HW1Test { /** Run all tests. */ public static void main(String[] args) { report("factorSum", testFactorSum()); report("printSociablePairs", testPrintSociablePairs()); report("dcatenate", testDcatenate()); report("sublist", testSublist()); report("dsublist", testDsublist()); } /** Print message that test NAME has (if ISOK) or else has not * passed. */ private static void report(String name, boolean isOK) { if (isOK) { System.out.printf("%s OK.%n", name); } else { System.out.printf("%s FAILS.%n", name); } } // Replace the bodies of the functions below with something serious. /** Return true iff factorSum passes its tests. */ private static boolean testFactorSum() { return false; } /** Return true iff printSociablePairs passes its tests. */ private static boolean testPrintSociablePairs() { return false; } /** Return true iff dcantenate passes its tests. */ private static boolean testDcatenate() { return false; } /** Return true iff sublist passes its tests. */ private static boolean testSublist() { return false; } /** Return true iff dsublist passes its tests. */ private static boolean testDsublist() { return false; } }