assertEquals(2, HyperParams.chooseValuesPerHyperParam(2, 4));
assertEquals(1, HyperParams.chooseValuesPerHyperParam(3, 1));
assertEquals(2, HyperParams.chooseValuesPerHyperParam(3, 7));
assertEquals(2, HyperParams.chooseValuesPerHyperParam(3, 8));
}
<BUG>private static <T> void doTest(HyperParamValues<T> hyperParams,

int howMany,
List<T> expected) {</BUG>
assertEquals(expected, hyperParams.getTrialValues(howMany));

assertEquals(2, HyperParams.chooseValuesPerHyperParam(2, 4));
assertEquals(1, HyperParams.chooseValuesPerHyperParam(3, 1));
assertEquals(2, HyperParams.chooseValuesPerHyperParam(3, 7));
assertEquals(2, HyperParams.chooseValuesPerHyperParam(3, 8));
}
private static void doTest(HyperParamValues<?> hyperParams, int howMany, List<?> expected) {
assertEquals(expected, hyperParams.getTrialValues(howMany));
