Verified Commit f547941b authored by Justin Carpentier's avatar Justin Carpentier
Browse files

test: enforce testing of user type

parent 59039fba
import user_type
import numpy as np
rows = 10
cols = 20
......@@ -29,3 +30,7 @@ test(mat)
mat = user_type.create_float(rows,cols)
v = user_type.CustomDouble(1)
a = np.array(v)
assert type(v) == a.dtype.type
Supports Markdown
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