diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-23 11:03:20 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-23 11:03:20 +0100 |
| commit | 34ae080c65fef96cc35f7b86c1231b01cb4df8f4 (patch) | |
| tree | acfc7a5396739c0d6bee4c6092eb7a58c96e57eb /test/rope_test | |
| parent | cd27850454a7cf15aab598f1fea6a2a6b539e084 (diff) | |
feat: wip: crope implementation in progress.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'test/rope_test')
| -rw-r--r-- | test/rope_test/Jamfile.v2 | 14 | ||||
| -rw-r--r-- | test/rope_test/crope.test.cpp | 10 |
2 files changed, 24 insertions, 0 deletions
diff --git a/test/rope_test/Jamfile.v2 b/test/rope_test/Jamfile.v2 new file mode 100644 index 0000000..85c867f --- /dev/null +++ b/test/rope_test/Jamfile.v2 @@ -0,0 +1,14 @@ +# +# File: Jamfile.v2 +# Author: Amlal El Mahrouss, +# Copyright 2025, Amlal El Mahrouss, Licensed under the Boost Software License +# + +project tests +: default-build debug +; + +exe crope.test.o + : crope.test.cpp + : <cxxstd>20 ; + diff --git a/test/rope_test/crope.test.cpp b/test/rope_test/crope.test.cpp index 869331f..e1885f4 100644 --- a/test/rope_test/crope.test.cpp +++ b/test/rope_test/crope.test.cpp @@ -5,3 +5,13 @@ * Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License. */ +#include <ocl/tproc/rope.hpp> + +#define BOOST_TEST_MODULE crope +#include <boost/test/included/unit_test.hpp> + +BOOST_AUTO_TEST_CASE( allocator_should_succeed ) +{ + auto rope = ocl::crope("foo"); + BOOST_TEST( rope.empty() == false ); +} |
