runCacheType(SelectionCacheType.JUST_IN_TIME, 5);
}
public void runCacheType(SelectionCacheType cacheType, int timesCalled) {
MoveSelector childMoveSelector = SelectorTestUtils.mockMoveSelector(DummyMove.class,
new DummyMove("a1"), new DummyMove("a2"), new DummyMove("a3"), new DummyMove("a4"));
SelectionFilter<DummyMove> filter = new SelectionFilter<DummyMove>() {
public boolean accept(ScoreDirector scoreDirector, DummyMove move) {
return !move.getCode().equals("a3");
}