mirror of https://github.com/swig/swig
14 lines
329 B
Python
14 lines
329 B
Python
import cbooltest
|
|
|
|
if not cbooltest.do_or(True, False):
|
|
raise RuntimeError("bad _Bool support")
|
|
|
|
if cbooltest.do_and(True, False):
|
|
raise RuntimeError("bad _Bool support")
|
|
|
|
if not cbooltest.TRUE_CONSTANT:
|
|
raise RuntimeError("bad _Bool support")
|
|
|
|
if cbooltest.FALSE_CONSTANT:
|
|
raise RuntimeError("bad _Bool support")
|