|
|
@ -10,32 +10,32 @@ def test_func_V_args_V(): |
|
|
|
(ret,) = func_V_args_V() |
|
|
|
assert(ret == None) |
|
|
|
|
|
|
|
def test_func_P_args_V(): |
|
|
|
(ret,) = func_P_args_V() |
|
|
|
def test_func_Pi_args_V(): |
|
|
|
(ret,) = func_Pi_args_V() |
|
|
|
print("RESULT:", ret) |
|
|
|
assert (ret == 23) |
|
|
|
|
|
|
|
def test_func_V_args_P(): |
|
|
|
(ret,arg1) = func_V_args_P(23) |
|
|
|
def test_func_V_args_Pi(): |
|
|
|
(ret,arg1) = func_V_args_Pi(23) |
|
|
|
print("RESULT:", ret, arg1) |
|
|
|
assert(ret == None) |
|
|
|
assert(arg1 == 23) |
|
|
|
|
|
|
|
def test_func_P_args_P(): |
|
|
|
(ret,arg1) = func_P_args_P(22) |
|
|
|
def test_func_Pi_args_Pi(): |
|
|
|
(ret,arg1) = func_Pi_args_Pi(22) |
|
|
|
print("RESULT:", ret, arg1) |
|
|
|
assert (ret == 23) |
|
|
|
assert (arg1 == 22) |
|
|
|
|
|
|
|
# @pytest.mark.skip("") |
|
|
|
def test_func_V_args_pP(): |
|
|
|
(ret,arg1) = func_V_args_pP(22) |
|
|
|
def test_func_V_args_pPi(): |
|
|
|
(ret,arg1) = func_V_args_pPi(22) |
|
|
|
print("RESULT:", ret, arg1) |
|
|
|
assert (ret == None) |
|
|
|
assert (arg1 == 23) |
|
|
|
|
|
|
|
def test_func_P_args_P_pP_pP(): |
|
|
|
(ret, arg1, arg2, arg3) = func_P_args_P_pP_pP(23, 22, 22) |
|
|
|
def test_func_Pi_args_Pi_pPi_pPi(): |
|
|
|
(ret, arg1, arg2, arg3) = func_Pi_args_Pi_pPi_pPi(23, 22, 22) |
|
|
|
print("RESULT:", ret, arg1, arg2, arg3) |
|
|
|
assert (ret == 23) |
|
|
|
assert (arg1 == 23) |
|
|
|