Lines Matching defs:overlaps
89 overlaps(const interval& r_interval)
96 // Check whether r_interval overlaps the current interval.
166 // Test overlaps.
169 assert(r_c.overlaps(make_pair(145, 165)) == true);
171 assert(r_c.overlaps(make_pair(145, 155)) == true);
172 assert(r_c.overlaps(make_pair(165, 175)) == false);
173 assert(r_c.overlaps(make_pair(100201, 100203)) == false);
178 // Test overlaps again.
179 assert(r_c.overlaps(make_pair(145, 165)) == false);
180 assert(r_c.overlaps(make_pair(165, 175)) == false);
181 assert(r_c.overlaps(make_pair(0, 300000)) == true);