示例#1
0
def not_found_test():
    assert_equal(find_last(positive, []), None)
示例#2
0
def find_last_nocurry_test():
    assert_equal(find_last(positive, [-2, -1, 0, 1, 2, -2]), 2)
示例#3
0
def test_find_last_curry():
    assert_equal(find_last(positive)([-2, -1, 0, 1, 2, -1, -2]), 2)