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