Пример #1
0
 def test_count_one(self):
     s = SortedFrozenSet([1, 5, 7, 9])
     self.assertEqual(s.count(7), 1)
Пример #2
0
 def test_count_zero(self):
     s = SortedFrozenSet([1, 5, 7, 9])
     self.assertEqual(s.count(11), 0)
Пример #3
0
 def test_count_one(self):
     s = SortedFrozenSet([1, 5, 7, 9])
     assert s.count(7) == 1
Пример #4
0
 def test_count_zero(self):
     s = SortedFrozenSet([1, 5, 7, 9])
     assert s.count(11) == 0
Пример #5
0
 def test_count_one(self):
     s = SortedFrozenSet([1, 5, 7, 9])
     self.assertEqual(s.count(7), 1)
Пример #6
0
 def test_count_zero(self):
     s = SortedFrozenSet([1, 5, 7, 9])
     self.assertEqual(s.count(11), 0)