Example #1
0
def test_input_5():
    assert lesson3.largest_prime_factor(5) == 5
Example #2
0
def test_input_3():
    assert lesson3.largest_prime_factor(3) == 3
Example #3
0
def test_input_600851475143():
    assert lesson3.largest_prime_factor(600851475143) == 6857
Example #4
0
def test_input_13195():
    assert lesson3.largest_prime_factor(13195) == 29
Example #5
0
def test_input_2():
    assert lesson3.largest_prime_factor(2) == 2
Example #6
0
def test_input_7():
    assert lesson3.largest_prime_factor(7) == 7