add vector test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5758 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
503c615c67
commit
e205e0012d
1 changed files with 8 additions and 0 deletions
|
|
@ -4,3 +4,11 @@ a = complex(1,2)
|
|||
|
||||
if complextest.Conj(a) != a.conjugate():
|
||||
raise RuntimeError, "bad complex mapping"
|
||||
|
||||
|
||||
v = (complex(1,2), complex(2,3), complex(4,3), 1)
|
||||
|
||||
try:
|
||||
print complextest.Copy_h(v)
|
||||
except:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue