adding more cases

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6814 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-12-01 01:17:56 +00:00
commit 25e1e7932a
10 changed files with 79 additions and 14 deletions

View file

@ -1,10 +1,14 @@
import li_std_stream as std
std.cout << 2345 << " " << 1.435 << std.endl
std.endl(std.cout)
a = std.A()
a.bar(2)
a.foo(4, a.bar)
o = std.ostringstream()
o << a << " " << 2345 << " " << 1.435
if o.str() != "A class 2345 1.435":
print "\"%s\"" % (o.str(),)
raise RuntimeError