diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-02 09:30:37 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-02 09:34:38 +0100 |
| commit | 51c3462cd382145f05b078e005b4a0e36f548dcb (patch) | |
| tree | 0a2070b430d91e9b23d99148e4e7c9437f30ddff /test/rope_test/crope.pred.test.cpp | |
| parent | 563b810319b2f6bdcbba46974df92710d753eed2 (diff) | |
feat: rope: final API implementation (pre-release prep)
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'test/rope_test/crope.pred.test.cpp')
| -rw-r--r-- | test/rope_test/crope.pred.test.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rope_test/crope.pred.test.cpp b/test/rope_test/crope.pred.test.cpp index 0ec71e3..72d0e2f 100644 --- a/test/rope_test/crope.pred.test.cpp +++ b/test/rope_test/crope.pred.test.cpp @@ -13,16 +13,16 @@ BOOST_AUTO_TEST_CASE(rope_should_succeed_in_empty_pred) { auto rope = ocl::tproc::crope(""); - auto it = ocl::tproc::rope::exact_pred{"foo"}(rope.cbegin(), rope.cend()); + auto it = ocl::tproc::rope::exact_pred<ocl::tproc::crope>{"foo"}(rope.cbegin(), rope.cend()); - BOOST_TEST(it == rope.cend()); + BOOST_TEST( it == rope.cend() ); } BOOST_AUTO_TEST_CASE(rope_should_not_succeed_in_empty_pred) { auto rope = ocl::tproc::crope("foobar"); // find the leaf with the exact value 'foo' - auto it = ocl::tproc::rope::starts_with_pred{"foo"}(rope.cbegin(), rope.cend()); + auto it = ocl::tproc::rope::starts_with_pred<ocl::tproc::crope>{"foo"}(rope.cbegin(), rope.cend()); - BOOST_TEST(it != rope.cend()); + BOOST_TEST( it != rope.cend() ); } |
