commit | 494fa991c36dffdbd02a0d97e48e0b297efa9dc3 | [log] [tgz] |
---|---|---|
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | Thu May 07 17:28:40 2015 +0200 |
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | Thu May 07 17:28:40 2015 +0200 |
tree | 5a83eee35aadae017542a4e01dbc40fcca1935f9 | |
parent | 4a936974a5b895f61d0f80a61b27ea642037cb11 [diff] [blame] |
bug #872: Avoid deprecated binder1st/binder2nd usage by providing custom functors for comparison operators
diff --git a/test/array.cpp b/test/array.cpp index cafcf79..1443f9f 100644 --- a/test/array.cpp +++ b/test/array.cpp
@@ -136,6 +136,8 @@ 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() );