@Test
public void testAtMost() {

  LocalDate date = LocalDate.of(2002, 4, 1);
  int value = PackedLocalDate.pack(date);
  Selection fromCol =
      table.dateColumn("date").eval(DateAndTimePredicates.isLessThanOrEqualTo, value);
  Selection fromIdx = dateIndex.atMost(value);
  Selection fromIdx1 = dateIndex.atMost(date);
  assertFalse(fromIdx.isEmpty());
  assertEquals(fromCol, fromIdx);
  assertEquals(fromCol, fromIdx1);
}