Files
cpp-thirdparty/winx64/bin/swigwin-4.0.0/Examples/test-suite/python/preproc_runme.py
2019-08-04 21:38:19 -05:00

20 lines
333 B
Python

import preproc
if preproc.endif != 1:
raise RuntimeError
if preproc.define != 1:
raise RuntimeError
if preproc.defined != 1:
raise RuntimeError
if 2 * preproc.one != preproc.two:
raise RuntimeError
if preproc.methodX(99) != 199:
raise RuntimeError
t1 = preproc.tcxMessageTest()
t2 = preproc.tcxMessageBug()