@Test
public void testIsLessThan() {

  int size = 1_000_000;
  Table table = Table.create("t");
  DoubleColumn numberColumn = DoubleColumn.create("test", size);
  table.addColumns(numberColumn);
  for (int i = 0; i < size; i++) {
    numberColumn.set(i, Math.random());
  }
  Selection results = numberColumn.isLessThan(.5f);
  int count = 0;
  for (int i = 0; i < size; i++) {
    if (results.contains(i)) {
      count++;
    }
  }
  // Probabilistic answer.
  assertTrue(count < 575_000);
  assertTrue(count > 425_000);
}