Example #1
0
def test_example_2():
    assert calculate_fuel(14) == 2
Example #2
0
def test_example_1():
    assert calculate_fuel(12) == 2
Example #3
0
def test_example_4():
    assert calculate_fuel(100756) == 33583
Example #4
0
def test_example_5():
    assert calculate_fuel(5) == 0
Example #5
0
def test_example_3():
    assert calculate_fuel(1969) == 654