for (int i = 80; i < 100; i++) {
creat = new Creature();
creat.setLevel(i);
creatureList.add(creat);
}
Collections.sort(creatureList, new LevelBasedComparator());
for (int level = 0; level < 120; level++) {
assertThat("1 rat in list", dmqpick.pickIdealCreature(level, false, creatureList).getLevel(),
lessThanOrEqualTo(level + 5));
}