diff options
author | Gael Guennebaud <g.gael@free.fr> | 2017-01-10 09:34:25 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2017-01-10 09:34:25 +0100 |
commit | ecd9cc54126c6d01859fbf26276cc1d03e370aec (patch) | |
tree | 6edb7af9de4c5f937380a69b8094f67a29ece727 /test/indexed_view.cpp | |
parent | b50c3e967e1676f248c93c1a79e6574ae746e2fd (diff) |
Isolate legacy code (we keep it for performance comparison purpose)
Diffstat (limited to 'test/indexed_view.cpp')
-rw-r--r-- | test/indexed_view.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/indexed_view.cpp b/test/indexed_view.cpp index 25a25499c..5c5cb5cde 100644 --- a/test/indexed_view.cpp +++ b/test/indexed_view.cpp @@ -160,6 +160,10 @@ void check_indexed_view() #endif + // check legacy code + VERIFY_IS_APPROX( A(legacy::seq(legacy::last,2,-2), legacy::seq(legacy::last-6,7)), A(seq(last,2,-2), seq(last-6,7)) ); + VERIFY_IS_APPROX( A(seqN(legacy::last,2,-2), seqN(legacy::last-6,3)), A(seqN(last,2,-2), seqN(last-6,3)) ); + } void test_indexed_view() |