@Test
public void testDoubleArrayFormatter() {

    Formatter<double[]> f = Formatters.doubleArrayFormatter();
    assertCompliance(f);
    assertThat(f.format(new double[]{0.4, -4.5})).isEqualTo("[0.4, -4.5]");
    assertThat(f.format(new double[]{})).isEqualTo("[]");
}