diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-30 07:09:34 -0500 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-30 07:09:34 -0500 |
| commit | f8f05ded6a1da18052a6154393710d55ff6ce8bd (patch) | |
| tree | 346acdde979cbc455146a5e5cbba3453412e4280 /tests/chunk_string/chunk_test.cc | |
| parent | 82772695a621f7f07ce654f676d14ca70b908e63 (diff) | |
chore: new improvements over the previous impelemntations of allocator_op.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'tests/chunk_string/chunk_test.cc')
| -rw-r--r-- | tests/chunk_string/chunk_test.cc | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/chunk_string/chunk_test.cc b/tests/chunk_string/chunk_test.cc deleted file mode 100644 index 37f5cb1..0000000 --- a/tests/chunk_string/chunk_test.cc +++ /dev/null @@ -1,22 +0,0 @@ -/* - * File: tests/chunk_test.cc - * Purpose: Chunk unit tests in C++ - * Author: Amlal El Mahrouss (amlal@nekernel.org) - * Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License. - */ - -#include <io/print.hpp> -#include <gtest/gtest.h> -#include <core/chunk_string.hpp> - -const char* test_string = "HELLO, WORLD!\r\n"; -const auto iterations = 1024000; -const auto limit = 30; - -TEST(ChunkTest, BasicChunkUsage) -{ - ocl::basic_chunk_string<char, iterations> optimized; - optimized += test_string; - - EXPECT_TRUE(optimized.str() == test_string); -} |
