/trunk/Examples/test-suite/octave/virtual_derivation_runme.m
# · MATLAB · 9 lines · 8 code · 1 blank · 0 comment · 1 complexity · 9532b01e1bc1715f45f4bf8bba452d2a MD5 · raw file
- virtual_derivation
- #
- # very innocent example
- #
- b = B(3);
- if (b.get_a() != b.get_b())
- error("something is really wrong")
- endif