add overload_extend and overload_extendc testcases

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11548 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Baozeng Ding 2009-08-13 15:55:19 +00:00
commit 39f1193f87
4 changed files with 204 additions and 8 deletions

View file

@ -0,0 +1,9 @@
exec loader.sce
x = new_Foo();
if Foo_test(x) <> 0 then pause, end
if Foo_test(x, 1) <> 1 then pause, end
if Foo_test(x, 2, 3) <> 5 then pause, end
if Foo_test(x, "Hello, swig!") <> 2 then pause, end
exit

View file

@ -0,0 +1,11 @@
exec loader.sce
x = new_Foo();
if Foo_test(x, 1) <> 1 then pause, end
if Foo_test(x, "Hello swig!") <> 2 then pause, end
if Foo_test(x, 2, 3) <> 3 then pause, end
if Foo_test(x, x) <> 30 then pause, end
if Foo_test(x, x, 4) <> 24 then pause, end
if Foo_test(x, x, 4, 5) <> 9 then pause, end
exit