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

/trunk/Examples/test-suite/octave/smart_pointer_rename_runme.m

#
MATLAB | 17 lines | 12 code | 5 blank | 0 comment | 3 complexity | 1ad97ac0b9d03abd29769f467355494e MD5 | raw file
Possible License(s): LGPL-2.1, Cube, GPL-3.0, 0BSD, GPL-2.0
  1. smart_pointer_rename
  2. f = Foo();
  3. b = Bar(f);
  4. if (b.test() != 3)
  5. error
  6. endif
  7. if (b.ftest1(1) != 1)
  8. error
  9. endif
  10. if (b.ftest2(2,3) != 2)
  11. error
  12. endif