tests/basics: Add test for matmul operator.

This is a Python 3.5 feature so the .exp file is needed.
This commit is contained in:
Damien George 2019-07-25 13:17:31 +10:00
parent 2069c563f9
commit fe4e1fe4b9
2 changed files with 20 additions and 0 deletions

View File

@ -111,6 +111,7 @@ except TypeError:
-cud1
~cud1
cud1 * cud2
cud1 @ cud2
cud1 / cud2
cud2 // cud1
cud1 += cud2

View File

@ -0,0 +1,19 @@
__pos__ called
__pos__ called
__neg__ called
__invert__ called
__mul__ called
__matmul__ called
__truediv__ called
__floordiv__ called
__iadd__ called
__isub__ called
__mod__ called
__pow__ called
__or__ called
__and__ called
__xor__ called
__lshift__ called
__rshift__ called
['a', 'b', 'c']
False