@Override
    public void merge(Accumulator<Double, Double> other) {
        this.min = Math.min(this.min, other.getLocalValue());
    }
@Test
    void testMerge() {
        DoubleMinimum min1 = new DoubleMinimum();
        min1.add(1234.5768);

        DoubleMinimum min2 = new DoubleMinimum();
        min2.add(5678.9012);

        min2.merge(min1);
        assertThat(min2.getLocalValue()).isCloseTo(1234.5768, within(0.0));

        min1.merge(min2);
        assertThat(min1.getLocalValue()).isCloseTo(1234.5768, within(0.0));
    }