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