### Question:
DoubleArrayMath { public static boolean fuzzyEqualsZero(double[] array, double tolerance) { for (int i = 0; i < array.length; i++) { if (!DoubleMath.fuzzyEquals(array[i], 0, tolerance)) { return false; } } return true; } private  DoubleArrayMath(); static Double[] toObject(double[] array); static double[] toPrimitive(Double[] array); static double sum(double[] array); static double[] applyAddition(double[] array, double valueToAdd); static double[] applyMultiplication(double[] array, double valueToMultiplyBy); static double[] apply(double[] array, DoubleUnaryOperator operator); static void mutateByAddition(double[] array, double valueToAdd); static void mutateByAddition(double[] array, double[] arrayToAdd); static void mutateByMultiplication(double[] array, double valueToMultiplyBy); static void mutateByMultiplication(double[] array, double[] arrayToMultiplyBy); static void mutate(double[] array, DoubleUnaryOperator operator); static double[] combineByAddition(double[] array1, double[] array2); static double[] combineByMultiplication(double[] array1, double[] array2); static double[] combine(double[] array1, double[] array2, DoubleBinaryOperator operator); static double[] combineLenient(double[] array1, double[] array2, DoubleBinaryOperator operator); static boolean fuzzyEqualsZero(double[] array, double tolerance); static boolean fuzzyEquals(double[] array1, double[] array2, double tolerance); static void sortPairs(double[] keys, double[] values); static double[] reorderedCopy(double[] values, int[] positions); static void sortPairs(double[] keys, int[] values); static void sortPairs(double[] keys, V[] values); static final double[] EMPTY_DOUBLE_ARRAY; static final Double[] EMPTY_DOUBLE_OBJECT_ARRAY; }### Answer:
@Test public void test_fuzzyEqualsZero() { assertThat(DoubleArrayMath.fuzzyEqualsZero(DoubleArrayMath.EMPTY_DOUBLE_ARRAY, 1e-2)).isTrue(); assertThat(DoubleArrayMath.fuzzyEqualsZero(ARRAY_0_0, 1e-2)).isTrue(); assertThat(DoubleArrayMath.fuzzyEqualsZero(ARRAY_1_2, 1e-2)).isFalse(); }