default args added to runtime test

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6397 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-10-16 20:49:46 +00:00
commit c187e14eb5

View file

@ -9,3 +9,11 @@ if f.blah(4) != 4
raise RuntimeError, "blah(int)"
end
if f.defaulted() != -1
raise RuntimeError, "defaulted()"
end
if f.defaulted(222) != 222
raise RuntimeError, "defaulted(hi)"
end