#ifndef TESTS_BOUNDED_ARRAY_SRC_TEST_POLICY_H #define TESTS_BOUNDED_ARRAY_SRC_TEST_POLICY_H #include #include #include #include #include struct test_policy { static void trap(char const*) { assert(false); } }; template using test_bounded_array = libkern::bounded_array; template using test_bounded_ptr = libkern::bounded_ptr; #define CHECK(...) T_ASSERT_TRUE((__VA_ARGS__), # __VA_ARGS__) #endif // !TESTS_BOUNDED_ARRAY_SRC_TEST_POLICY_H