diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-06 19:41:27 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-06 19:42:58 +0100 |
| commit | 2aafdb8520b302f01e57c677ec694db58527dddd (patch) | |
| tree | 36aca9abab0536e539322bdf998fb4a039e1b0e3 /test/rope_test/crope.test.cpp | |
| parent | eab7839be9b69aa9c3fafc3510e0aaee8d339508 (diff) | |
chore: testing and example cleanup work.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'test/rope_test/crope.test.cpp')
| -rw-r--r-- | test/rope_test/crope.test.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/test/rope_test/crope.test.cpp b/test/rope_test/crope.test.cpp index 4fe1a87..9275bef 100644 --- a/test/rope_test/crope.test.cpp +++ b/test/rope_test/crope.test.cpp @@ -10,14 +10,20 @@ #define BOOST_TEST_MODULE crope #include <boost/test/included/unit_test.hpp> +#ifndef STANDALONE +using namespace ocl; +#else +using namespace boost; +#endif + BOOST_AUTO_TEST_CASE(allocator_should_succeed_in_empty) { - auto rope = ocl::tproc::crope(""); + auto rope = tproc::crope(""); BOOST_TEST(rope.empty() == true); } BOOST_AUTO_TEST_CASE(allocator_should_not_succeed_in_empty) { - auto rope = ocl::tproc::crope("foobar"); + auto rope = tproc::crope("foobar"); BOOST_TEST(rope.empty() == false); } |
