def test_count_one(self): s = SortedFrozenSet([1, 5, 7, 9]) self.assertEqual(s.count(7), 1)
def test_count_zero(self): s = SortedFrozenSet([1, 5, 7, 9]) self.assertEqual(s.count(11), 0)
def test_count_one(self): s = SortedFrozenSet([1, 5, 7, 9]) assert s.count(7) == 1
def test_count_zero(self): s = SortedFrozenSet([1, 5, 7, 9]) assert s.count(11) == 0