summaryrefslogtreecommitdiffhomepage
path: root/test/allocator_op.test.cpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-25 08:50:09 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-25 08:50:20 +0100
commitceb8ca661c7d6cdb10be6593f3eedabf42846b0e (patch)
tree2065c67da2febd28f92e13ede247c9e9765e13b7 /test/allocator_op.test.cpp
parentc5522b589b8fae4904e2e84d9bd68e2e3e059fca (diff)
feat: add CLAUDE.md
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'test/allocator_op.test.cpp')
-rw-r--r--test/allocator_op.test.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/allocator_op.test.cpp b/test/allocator_op.test.cpp
index 925df8c..c079bd9 100644
--- a/test/allocator_op.test.cpp
+++ b/test/allocator_op.test.cpp
@@ -13,4 +13,6 @@ BOOST_AUTO_TEST_CASE(allocator_should_succeed)
auto ptr = ocl::allocator<int>{}.construct_array<10>();
int* arr = ptr.get();
BOOST_TEST(arr != nullptr);
+ *arr = 10;
+ BOOST_TEST(*arr == 10);
}