Home
last modified time | relevance | path

Searched refs:_RangesOverlap (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/dashboard/dashboard/
Dassociate_alerts_test.py212 self.assertFalse(associate_alerts._RangesOverlap((1, 5), (6, 9)))
213 self.assertFalse(associate_alerts._RangesOverlap((6, 9), (1, 5)))
216 self.assertFalse(associate_alerts._RangesOverlap((1, 5), None))
217 self.assertFalse(associate_alerts._RangesOverlap(None, (1, 5)))
218 self.assertFalse(associate_alerts._RangesOverlap(None, None))
222 self.assertTrue(associate_alerts._RangesOverlap((1, 9), (2, 5)))
223 self.assertTrue(associate_alerts._RangesOverlap((2, 5), (1, 9)))
226 self.assertTrue(associate_alerts._RangesOverlap((1, 6), (5, 9)))
227 self.assertTrue(associate_alerts._RangesOverlap((5, 9), (1, 6)))
230 self.assertTrue(associate_alerts._RangesOverlap((1, 6), (6, 9)))
[all …]
Dassociate_alerts.py78 bug['relevant'] = all(_RangesOverlap(this_range, r) for r in ranges)
205 def _RangesOverlap(range1, range2): function