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