示例#1
0
def test_input():
    input_list = [3, 4, -1, 1]
    expected = 2
    result = solution.number_finder(input_list)
    assert result == expected
示例#2
0
def test_inputNeg():
    input_list = [-3, -2, -4]
    expected = 0
    result = solution.number_finder(input_list)
    assert result == expected
示例#3
0
def test_input2():
    input_list = [1, 2, 0]
    expected = 3
    result = solution.number_finder(input_list)
    assert result == expected
示例#4
0
def test_inputRepeated():
    input_list = [1, 1, 1, 1, 1, 1]
    expected = 2
    result = solution.number_finder(input_list)
    assert result == expected