diff options
Diffstat (limited to 'Examples/test-suite/python/constant_directive_runme.py')
-rw-r--r-- | Examples/test-suite/python/constant_directive_runme.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Examples/test-suite/python/constant_directive_runme.py b/Examples/test-suite/python/constant_directive_runme.py index a7ed82b8b..e223cd261 100644 --- a/Examples/test-suite/python/constant_directive_runme.py +++ b/Examples/test-suite/python/constant_directive_runme.py @@ -18,3 +18,11 @@ if constant_directive.TYPE1_CONSTANT2.val != 2: if constant_directive.TYPE1_CONSTANT3.val != 3: raise RuntimeError("constant_directive.TYPE1_CONSTANT3.val is %r (should be 3)" % constant_directive.TYPE1_CONSTANT3.val) + +if constant_directive.TYPE1CONST_CONSTANT1.val != 1: + raise RuntimeError("constant_directive.TYPE1CONST_CONSTANT1.val is %r (should be 1)" % + constant_directive.TYPE1CONST_CONSTANT1.val) + +if constant_directive.TYPE1CPTR_CONSTANT1.val != 1: + raise RuntimeError("constant_directive.TYPE1CPTR_CONSTANT1.val is %r (should be 1)" % + constant_directive.TYPE1CPTR_CONSTANT1.val) |