From e476868bdc27ef0e36fc2485606634e7cf2ee00d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 24 Dec 2025 12:41:59 +0100 Subject: feat: new alias for `allocator_op.hpp` pool types. Signed-off-by: Amlal El Mahrouss --- test/option.test.cpp | 42 ++++++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 18 deletions(-) (limited to 'test/option.test.cpp') diff --git a/test/option.test.cpp b/test/option.test.cpp index fdc8d37..3cc336f 100644 --- a/test/option.test.cpp +++ b/test/option.test.cpp @@ -8,26 +8,32 @@ #define BOOST_TEST_MODULE option #include -BOOST_AUTO_TEST_CASE( option_should_fail ) +BOOST_AUTO_TEST_CASE(option_should_fail) { - bool ret = false; - try { - ocl::option opt(ocl::eval_false()); - opt.expect(""); - } catch (...) { - ret = true; - } - BOOST_TEST( ret == true ); + bool ret = false; + try + { + ocl::option opt(ocl::eval_false()); + opt.expect(""); + } + catch (...) + { + ret = true; + } + BOOST_TEST(ret == true); } -BOOST_AUTO_TEST_CASE( option_should_succeed ) +BOOST_AUTO_TEST_CASE(option_should_succeed) { - bool ret = true; - try { - ocl::option opt(ocl::eval_true()); - opt.expect(""); - } catch (...) { - ret = false; - } - BOOST_TEST( ret == true ); + bool ret = true; + try + { + ocl::option opt(ocl::eval_true()); + opt.expect(""); + } + catch (...) + { + ret = false; + } + BOOST_TEST(ret == true); } -- cgit v1.2.3