seed: curriculum content
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
from solution import f_to_c
|
||||
|
||||
|
||||
def test_freezing():
|
||||
assert f_to_c(32) == "32.0°F = 0.0°C"
|
||||
|
||||
|
||||
def test_boiling():
|
||||
assert f_to_c(212) == "212.0°F = 100.0°C"
|
||||
|
||||
|
||||
def test_body_temp():
|
||||
assert f_to_c(98.6) == "98.6°F = 37.0°C"
|
||||
|
||||
|
||||
def test_zero_fahrenheit():
|
||||
assert f_to_c(0) == "0.0°F = -17.8°C"
|
||||
Reference in New Issue
Block a user