public static Short min(Short a, Short b) {
        return a <= b ? a : b;
    }
@Test
    void testMin() {
        assertThat(summarize(-1000, 0, 1, 50, 999, 1001).getMin().shortValue())
                .isEqualTo((short) -1000);
        assertThat(summarize((int) Short.MIN_VALUE, -1000, 0).getMin().shortValue())
                .isEqualTo(Short.MIN_VALUE);
        assertThat(summarize(1, 8, 7, 6, 9, 10, 2, 3, 5, 0, 11, -2, 3).getMin().shortValue())
                .isEqualTo((short) -2);
        assertThat(
                        summarize(1, 8, 7, 6, 9, null, 10, 2, 3, 5, null, 0, 11, -2, 3)
                                .getMin()
                                .shortValue())
                .isEqualTo((short) -2);
        assertThat(summarize().getMin()).isNull();
    }