seed: curriculum content
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
from solution import years_until
|
||||
|
||||
|
||||
def test_int_input_25():
|
||||
assert years_until(25) == 75
|
||||
|
||||
|
||||
def test_int_input_7():
|
||||
assert years_until(7) == 93
|
||||
|
||||
|
||||
def test_int_input_60():
|
||||
assert years_until(60) == 40
|
||||
|
||||
|
||||
def test_string_input_converted():
|
||||
assert years_until("25") == 75
|
||||
|
||||
|
||||
def test_zero():
|
||||
assert years_until(0) == 100
|
||||
Reference in New Issue
Block a user