void checkDepths(SortedSet<byte[]> splits, Multimap<byte[], SimpleRange> regions,
    Integer... depths) {
    assertEquals(splits.size(), depths.length);
    int i = 0;
    for (byte[] k : splits) {
      Collection<SimpleRange> rs = regions.get(k);
      int sz = rs == null ? 0 : rs.size();
      assertEquals((int) depths[i], sz);
      i++;
    }
  }
Check the "depth" (number of regions included at a split) of a generated split calculation
hbase-server/src/test/java/org/apache/hadoop/hbase/util/TestRegionSplitCalculator.java