/** * Tests that the findLargest() method throws exceptio…
/** * Tests that the findLargest() method throws exceptions as specified. Should test all exception * cases and verify normal operation doesn’t throw exceptions. * * @return true if all exception handling tests pass, false otherwise */ public static boolean testFindError() { // TODO: Test IllegalArgumentException cases // TODO: Test IllegalStateException case // TODO: Test RuntimeException case // TODO: Test normal case (no exception should be thrown) return false; }
Read Details