PageRenderTime 20ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/tags/rel-1-3-29/SWIG/Examples/test-suite/python/rename_scope_runme.py

#
Python | 12 lines | 8 code | 4 blank | 0 comment | 2 complexity | fa63e7eab602419eeaa618d1dff06e59 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
 1from rename_scope import *
 2
 3a = Natural_UP()
 4b = Natural_BP()
 5
 6if a.rtest() != 1:
 7    raise RuntimeError
 8
 9if b.rtest() != 1:
10    raise RuntimeError
11
12f = equals