def test_aggregate_many_interval(self): pset = ProcSet((0, 1), (3, 4), (6, 7)) hull = ProcSet((0, 7)) assert pset.aggregate() == hull
def test_aggregate_point(self): pset = ProcSet(0) hull = ProcSet(0) assert pset.aggregate() == hull
def test_aggregate_single_interval(self): pset = ProcSet((0, 7)) hull = ProcSet((0, 7)) assert pset.aggregate() == hull
def test_aggregate_empty(self): pset = ProcSet() hull = ProcSet() assert pset.aggregate() == hull