(self)
| 370 | |
| 371 | class TestThreeSum(unittest.TestCase): |
| 372 | def test_three_sum(self): |
| 373 | |
| 374 | self.assertSetEqual(three_sum([-1, 0, 1, 2, -1, -4]), {(-1, 0, 1), (-1, -1, 2)}) |
| 375 | |
| 376 | self.assertSetEqual( |
| 377 | three_sum([-1, 3, 1, 2, -1, -4, -2]), {(-4, 1, 3), (-2, -1, 3), (-1, -1, 2)} |
| 378 | ) |
| 379 | |
| 380 | |
| 381 | class TestTwoSum(unittest.TestCase): |
nothing calls this directly
no test coverage detected