diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/array.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/array.cpp b/test/array.cpp index cafcf79ab..1443f9f88 100644 --- a/test/array.cpp +++ b/test/array.cpp @@ -136,6 +136,8 @@ template<typename ArrayType> void comparisons(const ArrayType& m) VERIFY(! (m1 < m3).all() ); VERIFY(! (m1 > m3).all() ); } + VERIFY(!(m1 > m2 && m1 < m2).any()); + VERIFY((m1 <= m2 || m1 >= m2).all()); // comparisons array to scalar VERIFY( (m1 != (m1(r,c)+1) ).any() ); |