Skip to content

Commit

Permalink
fixed broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannetty committed Sep 19, 2024
1 parent 20431ed commit 62fdbe3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/arcade/potts/env/location/PottsLocationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1413,8 +1413,8 @@ public void performSplit_noOffsets_splitsVoxelsCorrectly() {
MersenneTwisterFast random = new MersenneTwisterFast(12345);
Voxel splitpoint = location.getSplitpoint();
PottsLocation splitLocation = (PottsLocation) location.performSplit(random, splitpoint,
eq(null), eq(true),
eq(PottsLocation.DEFAULT_SPLIT_PROBABILITY));
null, true,
PottsLocation.DEFAULT_SPLIT_PROBABILITY);
assertNotNull(splitLocation);
assertTrue(location.voxels.size() > 0);
assertTrue(splitLocation.voxels.size() > 0);
Expand All @@ -1433,8 +1433,8 @@ public void performSplit_withOffsets_splitsVoxelsCorrectly() {
ArrayList<Integer> offsets = new ArrayList<>(Arrays.asList(33, 33, 33)); // 33% offsets
Voxel splitpoint = location.getSplitpoint(offsets);
PottsLocation splitLocation = (PottsLocation) location.performSplit(random, splitpoint,
eq(null), eq(false),
eq(PottsLocation.DEFAULT_SPLIT_PROBABILITY));
null, false,
PottsLocation.DEFAULT_SPLIT_PROBABILITY);
assertNotNull(splitLocation);
assertTrue(location.voxels.size() > 0);
assertTrue(splitLocation.voxels.size() > 0);
Expand Down

0 comments on commit 62fdbe3

Please sign in to comment.