BooleanUtil { public static boolean any(boolean[] bs) { for (int i = 0; i < bs.length; i++) { if (bs[i]) { return true; } } return false; }  static boolean any(boolean[] bs); static boolean all(boolean[] bs);  }
@Test public void testAny() { assertFalse(any(test1)); assertTrue(any(test2)); assertTrue(any(test3)); assertTrue(any(test4)); assertFalse(any(test5)); }