summaryrefslogtreecommitdiffhomepage
path: root/test/rope_test/crope.pred2.test.cpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-12 06:03:28 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-03-12 06:03:28 +0100
commitdbfbab069a35f3a61932915d35b3895e784b05de (patch)
treecc69e65a640f7c70af4383ca6a754f1c57c322ae /test/rope_test/crope.pred2.test.cpp
parentf88fe31af6b19a972c2b72d9fdaee8c1985cfd9f (diff)
[CHORE] Add more unit tests for TProc.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'test/rope_test/crope.pred2.test.cpp')
-rw-r--r--test/rope_test/crope.pred2.test.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/test/rope_test/crope.pred2.test.cpp b/test/rope_test/crope.pred2.test.cpp
index c2f5aca..9b9b333 100644
--- a/test/rope_test/crope.pred2.test.cpp
+++ b/test/rope_test/crope.pred2.test.cpp
@@ -8,7 +8,7 @@
#include <memory>
#include <iostream>
-#define BOOST_TEST_MODULE crope_pred
+#define BOOST_TEST_MODULE crope_pred2
#include <boost/test/included/unit_test.hpp>
#ifndef STANDALONE
@@ -17,7 +17,13 @@ using namespace ocl;
using namespace boost;
#endif
-BOOST_AUTO_TEST_CASE(rope_should_succeed_in_find_pred)
+BOOST_AUTO_TEST_CASE(rope_should_succeed_in_concat)
{
-
+ auto rope = tproc::crope("Exact");
+ auto next_rope = std::make_unique<tproc::crope>(" Sentence");
+ auto rope_2 = rope.concat(next_rope.get());
+
+ std::cout << "Result: " << rope << std::endl;
+
+ BOOST_TEST(rope.to_string() == "Exact Sentence");
}