@Test
public void testWriteToSplitMap() {

  SplitMapPageWriter writer = new SplitMapPageWriter();
  writer.add(1);
  writer.add(11);
  writer.add(1 << 16 | 1);
  SplitMap splitMap = writer.toSplitMap();
  assertTrue(splitMap.contains(1));
  assertTrue(splitMap.contains(11));
  assertTrue(splitMap.contains(1 << 16 | 1));
}