예제 #1
0
 def test_isdisjoint_no(self):
     ss = StackSet([2,3,4,5])
     tt = StackSet([9,7,4])
     assert not ss.isdisjoint(tt)
예제 #2
0
 def test_isdisjoint_yes(self):
     ss = StackSet([1,3,5,7,9])
     tt = StackSet([0,2,4,6,8])
     assert ss.isdisjoint(tt)