def test_get_hcf(): # define the right packages and modules so that this import works from unit3tests.factormath import get_hcf assert get_hcf([], [(2,5)]) == [] assert get_hcf([], []) == [] assert get_hcf([(2,3), (3,3), (11,1)], [(5,2)]) == [] assert get_hcf([(2,3), (5,3), (17, 2)], [(2,1), (3,5), (5,2), (19,1)]) == [(2,1), (5,2)] assert get_hcf([(2,1), (11,3), (19,2), (7919, 4)], [(2,2), (7,1), (19,1), (2687,4)]) == [(2,1), (19,1)]