/trunk/Examples/test-suite/python/virtual_derivation_runme.py
Python | 8 lines | 4 code | 1 blank | 3 comment | 1 complexity | 343ccb27b33bb7ed98943cbd56a06dee MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
- from virtual_derivation import *
- #
- # very innocent example
- #
- b = B(3)
- if b.get_a() != b.get_b():
- raise RuntimeError, "something is really wrong"