function checkGetRange(index) {
  assertEquals(10, index.getRange().length);

  var result = index.getRange();
  assertEquals(10, result.length);
  result = index.getRange([lf.index.SingleKeyRange.lowerBound(1)]);
  assertEquals(9, result.length);
  assertEquals(1, result[0]);
  result = index.getRange([new lf.index.SingleKeyRange(1, 1, false, false)]);
  assertEquals(1, result.length);
  assertEquals(1, result[0]);
  result = index.getRange([new lf.index.SingleKeyRange(1, 2, false, false)]);
  assertEquals(2, result.length);
  assertEquals(1, result[0]);
  assertEquals(2, result[1]);
}
Performs a series of getRange() tests on the given index.
@param {!lf.index.Index} index