@Override
    public void resetLocal() {
        this.min = Double.POSITIVE_INFINITY;
    }
@Test
    void testResetLocal() {
        DoubleMinimum min = new DoubleMinimum();
        double value = 13.57902468;

        min.add(value);
        assertThat(min.getLocalValue()).isCloseTo(value, within(0.0));

        min.resetLocal();
        assertThat(min.getLocalValue()).isCloseTo(Double.POSITIVE_INFINITY, within(0.0));
    }