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