// the and/or tests are pretty sparse, since RangeSegmentTest is more exhaustive about
// the overlaps and permutations.
@Test
public void orNoOverlap() {
ConditionExpression nameLtAbe = compare(firstName, Comparison.LT, constant("abe"));
ConditionExpression nameGeJoe = compare(firstName, Comparison.GE, constant("joe"));
ConditionExpression either = or(nameLtAbe, nameGeJoe);
ColumnRanges expected = columnRanges(
firstName,
either,
segment(nullExclusive("joe"), exclusive("abe")),
segment(inclusive("joe"), RangeEndpoint.UPPER_WILD)