예제 #1
0
 def test_count_one(self):
     s = SortedFrozenSet([1, 5, 7, 9])
     assert s.count(7) == 1
예제 #2
0
 def test_count_one(self):
     s = SortedFrozenSet([1, 5, 7, 9])
     assert s.count(7) == 1
예제 #3
0
 def test_count_zero(self):
     s = SortedFrozenSet([1, 5, 7, 9])
     assert s.count(11) == 0
예제 #4
0
 def test_count_zero(self):
     s = SortedFrozenSet([1, 5, 7, 9])
     assert s.count(11) == 0