private static final int NUM_PARTITIONS_SPC = 8;
public void testPeriodicMapsGeneric() {
// Create partitions
Partitioner partitioner = new SimplePartitioner();
IntBox[] partitions = partitioner.partition(NUM_CELLS_X_GEN, NUM_CELLS_Y_GEN, NUM_PARTITIONS_GEN);
IntBox globalSimulation = new IntBox(0, NUM_CELLS_X_GEN - 1, 0, NUM_CELLS_Y_GEN - 1);
// Go through each partition and test its neighbor map
for (int i = 0; i < partitions.length; ++i) {
NeighborMap neighborMap = new NeighborMap(