/trunk/Examples/test-suite/python/virtual_derivation_runme.py
# · Python · 8 lines · 4 code · 1 blank · 3 comment · 1 complexity · 343ccb27b33bb7ed98943cbd56a06dee MD5 · raw file
- from virtual_derivation import *
- #
- # very innocent example
- #
- b = B(3)
- if b.get_a() != b.get_b():
- raise RuntimeError, "something is really wrong"