示例#1
0
def test_contains_5():
    assert contains((1, 2), [1, 2, "3", (1, 2)]) == True
示例#2
0
def test_contains_4():
    assert contains("item", ("item")) == False
示例#3
0
def test_contains_2():
    assert contains("18", [18, 18.0, "18"]) == True
示例#4
0
def test_contains_3():
    assert contains("element", []) == False
示例#5
0
def test_contains_1():
    assert contains([], [4, [], 5]) == True