예제 #1
0
def test_2():
    assert select_max([0]) == 0
예제 #2
0
def test_1():
    assert select_max([1, 2, 3]) == 3
예제 #3
0
def test_6():
    assert select_max([]) == None
예제 #4
0
def test_5():
    assert select_max([-10, -2, 1]) == 1
예제 #5
0
def test_4():
    assert select_max([-10, -2, -8]) == -2
예제 #6
0
def test_3():
    assert select_max([0, 0, 0]) == 0