コード例 #1
0
def test_maximum1():
    expected = 6
    got = maximum(4, 6, 5)
    assert expected == got
コード例 #2
0
def test_maximum():
    expected = 3
    got = maximum(1, 2, 3)
    assert expected == got
コード例 #3
0
def test_maximum2():
    expected = 9
    got = maximum(9, 7, 3)
    assert expected == got
コード例 #4
0
def test_maxiumum_number_a():
    a = 123
    b = 33
    c = 22
    assert uppgift39.maximum(a, b, c) == 123
コード例 #5
0
def test_maxiumum_number_c():
    a = 1
    b = 2
    c = 22
    assert uppgift39.maximum(a, b, c) == 22
コード例 #6
0
def test_maxiumum_number_b():
    a = 1
    b = 3
    c = 2
    assert uppgift39.maximum(a, b, c) == 3