/tags/ttn-post-libtool-1-4-3-upgrade/SWIG/Examples/test-suite/python/static_const_member_2_runme.py

# · Python · 15 lines · 11 code · 4 blank · 0 comment · 1 complexity · 6083130fff42c0c5f52d5f34d2d1fa4a MD5 · raw file

  1. from static_const_member_2 import *
  2. c = Test_int()
  3. try:
  4. a = c.forward_field
  5. a = c.current_profile
  6. a = c.RightIndex
  7. a = Test_int.backward_field
  8. a = Test_int.LeftIndex
  9. a = Test_int.cavity_flags
  10. except:
  11. print "Failed!!"