/trunk/Examples/test-suite/python/static_const_member_2_runme.py
Python | 16 lines | 13 code | 3 blank | 0 comment | 2 complexity | 3998c81f9cd98871a36182039824f869 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- from static_const_member_2 import *
- c = Test_int()
- try:
- a = c.forward_field
- a = c.current_profile
- a = c.RightIndex
- a = Test_int.backward_field
- a = Test_int.LeftIndex
- a = Test_int.cavity_flags
- except:
- raise RuntimeError
- if Foo.BAZ.val != 2*Foo.BAR.val:
- raise RuntimeError