Commit cdedb132 authored by Isuru Fernando's avatar Isuru Fernando

Add test

parent d6190df0
...@@ -146,3 +146,11 @@ def test_value_type(x): ...@@ -146,3 +146,11 @@ def test_value_type(x):
""" """
cdef vector[double].value_type val = x cdef vector[double].value_type val = x
return val return val
def test_value_type_complex(x):
"""
>>> test_value_type(2)
(2+0j)
"""
cdef vector[double complex].value_type val = x
return val
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