From 0844f35607e88eb4c5c01019a376737dc570e692 Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Wed, 14 Apr 2010 13:14:49 -0300 Subject: [PATCH] add test for long long complex type --- tests/run/complex_int_T446.pyx | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/tests/run/complex_int_T446.pyx b/tests/run/complex_int_T446.pyx index d2afae58..c9ee5519 100644 --- a/tests/run/complex_int_T446.pyx +++ b/tests/run/complex_int_T446.pyx @@ -43,4 +43,18 @@ def test_conjugate(long complex z): >>> test_conjugate(2+3j) (2-3j) """ - return z.conjugate() \ No newline at end of file + return z.conjugate() + +def test_conjugate2(short complex z): + """ + >>> test_conjugate2(2+3j) + (2-3j) + """ + return z.conjugate() + +def test_conjugate3(long long complex z): + """ + >>> test_conjugate3(2+3j) + (2-3j) + """ + return z.conjugate() -- 2.26.2