Commit d6eb477a authored by Kenneth Moreland's avatar Kenneth Moreland

Minor fixes to UnitTestWorkletReduceByKey

parent 05843985
......@@ -32,16 +32,13 @@ namespace {
#define STRINGIFY(x) STRINGIFY_IMPL(x)
#define STRINGIFY_IMPL(x) #x
#define IMPL_TEST_ASSERT_WORKLET(condition, file, line) \
this->RaiseError("Test assert failed: " #condition \
"\n" #file ":" #line) \
#define TEST_ASSERT_WORKLET(condition) \
do { \
if (!(condition)) \
{ \
this->RaiseError("Test assert failed: " #condition \
"\n" __FILE__ ":" STRINGIFY(__LINE__)); \
return; \
} \
} while (false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment