示例#1
0
def test_case_2():
    assert solution(2.00000, 10) == 1024.0000
示例#2
0
def test_case_1():

    answer = httpGetReq(5)
    assert solution('korea') == answer
示例#3
0
def test_case_3():
    assert solution(2.10000, 3) == 9.261000000000001
示例#4
0
def test_case_1():
    assert solution(2, 4) == 16
示例#5
0
def test_case_4():
    test_case = [
        'dog', 'cat', 'pudding', 'cat', 'pizza', 'soju', 'dog', 'dog',
        'hamburger'
    ]
    assert solution(test_case) == 6
示例#6
0
def test_case_2():
    assert solution(-123) == -321
示例#7
0
def test_case_5():
    assert solution(0) == 0
示例#8
0
def test_case_1():
    heightList = [4, 10]
    assert solution(heightList) == 4
示例#9
0
def test_case_3():
    assert solution(120) == 21
示例#10
0
def test_case_4():
    assert solution(-1827) == -7281
示例#11
0
def test_case_2():
    test_case = [1, 1, 1, 1, 1]
    assert solution(test_case) == 1
示例#12
0
def test_case_1():
    test_case = [1, 1, 2]
    assert solution(test_case) == 2
示例#13
0
def test_case_5():
    test_case = []
    assert solution(test_case) == 0
示例#14
0
def test_case_3():
    heightList = [25, 15, 18]
    assert solution(heightList) == 36
示例#15
0
def test_case_6():
    assert solution(-0) == 0
示例#16
0
def test_case_4():
    heightList = [8, 10, 12, 29]
    assert solution(heightList) == 24
示例#17
0
def test_case_1():
    assert solution(123) == 321
示例#18
0
def test_case_2():
    heightList = [25, 15]
    assert solution(heightList) == 15
示例#19
0
def test_case_3():
    test_case = ['a', 'b', 'a', 'c', 'd', 'e', 'e', 'z']
    assert solution(test_case) == 6