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