rotation solver: fix to use modulus instead of remainder operator
This commit is contained in:
@@ -77,4 +77,12 @@ public class RotationSolverTest
|
||||
RotationSolver.solve(rooms);
|
||||
assertArrayEquals(new RaidRoom[]{GUARDIANS, VESPULA, SHAMANS, VASA}, rooms);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testSolve6()
|
||||
{
|
||||
RaidRoom[] rooms = new RaidRoom[]{UNKNOWN_COMBAT, UNKNOWN_COMBAT, TEKTON, MUTTADILES};
|
||||
RotationSolver.solve(rooms);
|
||||
assertArrayEquals(new RaidRoom[]{VANGUARDS, MYSTICS, TEKTON, MUTTADILES}, rooms);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user