private String format(double score) {
        int NUM_DECIMAL_PLACES = 3;
        return String.format("%." + NUM_DECIMAL_PLACES + "f", score);
    }
@Test
    public void durationFormatOnShortTimesWorks() {

        Duration oneMinfiveSec = Duration.ofMillis(5_123).plusMinutes(1);

        assertThat(format(oneMinfiveSec), equalTo("1m 5.123 sec"));
    }