MipMap expectedMipMap = expectedChain.getMipMap(i);
MipMap actualMipMap = actualChain.getMipMap(i);
assertEquals(expectedMipMap.size(), actualMipMap.size());
int numSamples = actualMipMap.size();
Array1D expectedDomain = expectedMipMap.getDomain();
Array1D actualDomain = actualMipMap.getDomain();
for (int j = 0; j < numSamples; j++) {
assertEquals(expectedDomain.get(j), actualDomain.get(j));
assertEquals(expectedMipMap.getTuple(j).getRange0(),
actualMipMap.getTuple(j).getRange0());
}
}