diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2015-05-07 17:28:40 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2015-05-07 17:28:40 +0200 |
commit | 494fa991c36dffdbd02a0d97e48e0b297efa9dc3 (patch) | |
tree | 5a83eee35aadae017542a4e01dbc40fcca1935f9 /test | |
parent | 4a936974a5b895f61d0f80a61b27ea642037cb11 (diff) |
bug #872: Avoid deprecated binder1st/binder2nd usage by providing custom functors for comparison operators
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() ); |