add more cases

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7770 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-11-02 12:50:05 +00:00
commit 5da979283b
2 changed files with 21 additions and 2 deletions

View file

@ -1,6 +1,14 @@
from kwargs import *
class MyFoo(Foo):
def __init__(self, a , b = 0):
Foo.__init__(self, a, b)
# Simple class
f1 = MyFoo(2)
f = Foo(b=2,a=1)
if f.foo(b=1,a=2) != 3: