Example #1
0
def test_answer_5():
    assert c_to_f.c2f(-35.7) == -32.26
Example #2
0
def test_answer_3():
    assert c_to_f.c2f(-40.0) == -40.0
Example #3
0
def test_answer_4():
    assert c_to_f.c2f(35.7) == 96.26
Example #4
0
def test_answer_2():
    assert c_to_f.c2f(40) == 104
Example #5
0
def test_answer_1():  # start unit test function with test_
    assert c_to_f.c2f(0.0) == 32.0
Example #6
0
def test_freezing():
    assert c2f(0) == 32
Example #7
0
def test_minu_40():
    assert c2f(-40) == -40
Example #8
0
def test_boiling():
    assert c2f(100) == 212