diff options
Diffstat (limited to 'libs/python/test/operators_wrapper.py')
-rw-r--r-- | libs/python/test/operators_wrapper.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libs/python/test/operators_wrapper.py b/libs/python/test/operators_wrapper.py new file mode 100644 index 000000000..6c889b0a3 --- /dev/null +++ b/libs/python/test/operators_wrapper.py @@ -0,0 +1,11 @@ +from operators_wrapper_ext import * + +class D2(vector): pass +d2 = D2() + +for lhs in (v,d,d2): + -lhs + for rhs in (v,d,d2): + lhs + rhs + lhs += rhs + |