Initial commit of Octave module.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10290 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Xavier Delacour 2008-03-01 23:35:44 +00:00
commit 393391965c
275 changed files with 14004 additions and 5 deletions

View file

@ -0,0 +1,61 @@
using_inherit
b = Bar();
if (b.test(3) != 3)
error("Bar::test(int)")
endif
if (b.test(3.5) != 3.5)
error("Bar::test(double)")
endif
b = Bar2();
if (b.test(3) != 6)
error("Bar2::test(int)")
endif
if (b.test(3.5) != 7.0)
error("Bar2::test(double)")
endif
b = Bar3();
if (b.test(3) != 6)
error("Bar3::test(int)")
endif
if (b.test(3.5) != 7.0)
error("Bar3::test(double)")
endif
b = Bar4();
if (b.test(3) != 6)
error("Bar4::test(int)")
endif
if (b.test(3.5) != 7.0)
error("Bar4::test(double)")
endif
b = Fred1();
if (b.test(3) != 3)
error("Fred1::test(int)")
endif
if (b.test(3.5) != 7.0)
error("Fred1::test(double)")
endif
b = Fred2();
if (b.test(3) != 3)
error("Fred2::test(int)")
endif
if (b.test(3.5) != 7.0)
error("Fred2::test(double)")
endif