Exemple #1
0
def test_add_list():
    assert add([1], [2]) == [1, 2]
    raise Exception()
Exemple #2
0
def test_add_num():
    assert add(1, 2) == 3
Exemple #3
0
def test_add_str():
    assert add("a", "b") == "ab"