def test_6(self): self.assertEqual(get_factors(6), [1, 2, 3, 6])
def test_2(self): self.assertEqual(get_factors(2), [1, 2])
def test(n=10000000000000): print(factors.get_factors(n))
def test_100(self): self.assertEqual(get_factors(100), [1, 2, 4, 5, 10, 20, 25, 50, 100])
def get_all_factors(numbers): """Return a dictionary mapping numbers to their factors.""" return {num: get_factors(num) for num in numbers}