From e205e0012d4df5819f73ed6b215efd63a2802c8f Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Wed, 17 Mar 2004 09:49:17 +0000 Subject: [PATCH] add vector test git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5758 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/python/complextest_runme.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Examples/test-suite/python/complextest_runme.py b/Examples/test-suite/python/complextest_runme.py index 48d1b7edd..bf30f1970 100644 --- a/Examples/test-suite/python/complextest_runme.py +++ b/Examples/test-suite/python/complextest_runme.py @@ -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