/trunk/Examples/test-suite/python/static_const_member_2_runme.py
Python | 16 lines | 13 code | 3 blank | 0 comment | 1 complexity | 3998c81f9cd98871a36182039824f869 MD5 | raw file
1from static_const_member_2 import * 2 3c = Test_int() 4try: 5 a = c.forward_field 6 a = c.current_profile 7 a = c.RightIndex 8 a = Test_int.backward_field 9 a = Test_int.LeftIndex 10 a = Test_int.cavity_flags 11except: 12 raise RuntimeError 13 14 15if Foo.BAZ.val != 2*Foo.BAR.val: 16 raise RuntimeError