Commit d984571b authored by Stefan Behnel's avatar Stefan Behnel

add test case

parent 84b1de27
...@@ -52,3 +52,14 @@ def complex_conjugate_nonsimple_float(): ...@@ -52,3 +52,14 @@ def complex_conjugate_nonsimple_float():
""" """
x = float(1.0).conjugate() x = float(1.0).conjugate()
return x return x
cdef double float_result():
return 1.0
def complex_conjugate_nonsimple():
"""
>>> complex_conjugate_nonsimple()
1.0
"""
x = float_result().conjugate()
return x
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment