BrotliErrorChecker { static boolean isBrotliOk(int errorCode) { return errorCode >= 0; }    }
@Test public void error_codes_which_are_positive_are_OK() throws Exception { assertThat(BrotliErrorChecker.isBrotliOk(-1)).isFalse(); assertThat(BrotliErrorChecker.isBrotliOk(0)).isTrue(); assertThat(BrotliErrorChecker.isBrotliOk(1)).isTrue(); }