Open Makaze opened 8 months ago
check50 shows a passing grade when given the example test_jar.py file provided in the Hints section of the pset page:
from jar import Jar def test_init(): ... def test_str(): jar = Jar() assert str(jar) == "" jar.deposit(1) assert str(jar) == "🍪" jar.deposit(11) assert str(jar) == "🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪" def test_deposit(): ... def test_withdraw(): ...
This code should not pass without filling out the functions.
check50 shows a passing grade when given the example test_jar.py file provided in the Hints section of the pset page:
This code should not pass without filling out the functions.