import python_varargs_typemap

if (python_varargs_typemap.testfunc(1, 2.0, "three") != "three") :
    raise RuntimeError("testfunc failed!")
Esempio n. 2
0
import python_varargs_typemap

if (python_varargs_typemap.testfunc(1, 2.0, "three") != "three"):
    raise RuntimeError("testfunc failed!")

if (python_varargs_typemap.testfunc(1, 2.0, "three", "four", "five") !=
        "threefourfive"):
    raise RuntimeError("testfunc failed! {}")
import python_varargs_typemap

if (python_varargs_typemap.testfunc(1, 2.0, "three") != "three"):
    raise RuntimeError("testfunc failed!")

if (python_varargs_typemap.testfunc(1, 2.0, "three", "four", "five") != "threefourfive"):
    raise RuntimeError("testfunc failed! {}")
import python_varargs_typemap

if (python_varargs_typemap.testfunc(1, 2.0, "three") != "three"):
    raise RuntimeError("testfunc failed!")