def test_isdisjoint_no(self): qs = QueueSet([2,3,4,5]) tt = QueueSet([9,7,4]) assert not qs.isdisjoint(tt)
def test_isdisjoint_yes(self): qs = QueueSet([1,3,5,7,9]) tt = QueueSet([0,2,4,6,8]) assert qs.isdisjoint(tt)