### Question:
ChunkingIndex extends Index { public ChunkingIndex(int[] shape) { super(shape); } ChunkingIndex(int[] shape); int[] computeChunkShape(long maxChunkElems);  }### Answer:
@Test public void testChunkingIndex() { testOne(new int[] {100, 100}, 500); testOne(new int[] {100, 100}, 499); testOne(new int[] {100, 100}, 100 * 100); testOne(new int[] {77, 3712, 2332}, 500 * 1000); testOne(new int[] {77, 3712, 2332}, 50 * 1000); testOne(new int[] {77, 3712, 2332}, 5 * 1000); }