@Override
    protected boolean isNan(Short number) {
        // NaN never applies here because only types like Float and Double have NaN
        return false;
    }
@Test
    void testIsNan() {
        ShortSummaryAggregator ag = new ShortSummaryAggregator();
        // always false for Short
        assertThat(ag.isNan((short) -1)).isFalse();
        assertThat(ag.isNan((short) 0)).isFalse();
        assertThat(ag.isNan((short) 23)).isFalse();
        assertThat(ag.isNan(Short.MAX_VALUE)).isFalse();
        assertThat(ag.isNan(Short.MIN_VALUE)).isFalse();
        assertThat(ag.isNan(null)).isFalse();
    }