PageRenderTime 51ms CodeModel.GetById 24ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/python/cpp_static_runme.py

#
Python | 7 lines | 6 code | 0 blank | 1 comment | 0 complexity | 4474d60afc8216788c3a479b0caabb74 MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. #!/usr/bin/evn python
  2. from cpp_static import *
  3. StaticFunctionTest.static_func()
  4. StaticFunctionTest.static_func_2(1)
  5. StaticFunctionTest.static_func_3(1,2)
  6. StaticMemberTest.static_int = 10
  7. assert StaticMemberTest.static_int == 10