def test_div_palindrome_are_of_n_digits(): '''Test that factors are both of n digits''' assert not lgst_pal(2) == [9779, 127, 77]
def test_known(): '''Test that 9009 = 99 * 91''' assert lgst_pal(2) == [9009, 99, 91]