(self)
| 2274 | self.assertEqual(set(Counter(s)), set(s)) |
| 2275 | |
| 2276 | def test_invariant_for_the_in_operator(self): |
| 2277 | c = Counter(a=10, b=-2, c=0) |
| 2278 | for elem in c: |
| 2279 | self.assertTrue(elem in c) |
| 2280 | self.assertIn(elem, c) |
| 2281 | |
| 2282 | def test_multiset_operations(self): |
| 2283 | # Verify that adding a zero counter will strip zeros and negatives |
nothing calls this directly
no test coverage detected