12 lines
460 B
Python
12 lines
460 B
Python
def fahrenheit_to_celsius(temp):
|
|
pass
|
|
|
|
def celsius_to_fahrenheit(temp):
|
|
pass
|
|
|
|
|
|
assert(fahrenheit_to_celsius(32) == 0), "Freezing temp should return true"
|
|
assert(fahrenheit_to_celsius(212) == 100), "Boiling temp should return true"
|
|
assert(fahrenheit_to_celsius(-13) == -25), "Negative number should return true"
|
|
assert(celsius_to_fahrenheit(37) == 98.6), "Body temp should return true"
|
|
assert(celsius_to_fahrenheit(10) == 50), "Random temp should return true" |