@Override
    protected boolean isInfinite(Double number) {
        return number.isInfinite();
    }
@Test
    void testIsInfinite() {
        DoubleSummaryAggregator ag = new DoubleSummaryAggregator();
        assertThat(ag.isInfinite(-1.0)).isFalse();
        assertThat(ag.isInfinite(0.0)).isFalse();
        assertThat(ag.isInfinite(23.0)).isFalse();
        assertThat(ag.isInfinite(Double.MAX_VALUE)).isFalse();
        assertThat(ag.isInfinite(Double.MIN_VALUE)).isFalse();
        assertThat(ag.isInfinite(Double.POSITIVE_INFINITY)).isTrue();
        assertThat(ag.isInfinite(Double.NEGATIVE_INFINITY)).isTrue();
    }