check50

cs50/problems/2022/python/tests/fuel


:) test_fuel.py exist

Log
checking that test_fuel.py exists...

:) correct fuel.py passes all test_fuel checks

Log
running pytest test_fuel.py...
checking that program exited with status 0...

:) test_fuel catches fuel.py returning incorrect ints in convert

Log
running pytest test_fuel.py...
checking that program exited with status 1...

:) test_fuel catches fuel.py not raising ValueError in convert

Log
running pytest test_fuel.py...
checking that program exited with status 1...

:) test_fuel catches fuel.py not raising ZeroDivisionError in convert

Log
running pytest test_fuel.py...
checking that program exited with status 1...

:( test_fuel catches fuel.py not labeling 1% as E in gauge

Cause
expected exit code 1, not 0

Log
running pytest test_fuel.py...
checking that program exited with status 1...

:( test_fuel catches fuel.py not printing % in gauge

Cause
expected exit code 1, not 0

Log
running pytest test_fuel.py...
checking that program exited with status 1...

:( test_fuel catches fuel.py not labeling 99% as F in gauge

Cause
expected exit code 1, not 0

Log
running pytest test_fuel.py...
checking that program exited with status 1...