From 0edfff96ada96aba12ed85c1ee96e84b0acc05d8 Mon Sep 17 00:00:00 2001
From: Justin Carpentier <justin.carpentier@inria.fr>
Date: Tue, 3 Aug 2021 15:45:00 +0200
Subject: [PATCH] test/user_types: enforce testing of matmul operation

---
 unittest/python/test_user_type.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/unittest/python/test_user_type.py b/unittest/python/test_user_type.py
index 80d5e1a2..f9408362 100644
--- a/unittest/python/test_user_type.py
+++ b/unittest/python/test_user_type.py
@@ -32,6 +32,9 @@ def test(dtype):
   assert not (mat > mat).all()
   assert not (mat < mat).all()
 
+  mat2 = mat.dot(mat.T)
+  mat2 = np.matmul(mat,mat.T)
+
 def test_cast(from_dtype,to_dtype):
   np.can_cast(from_dtype,to_dtype)
 
-- 
GitLab