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