diff options
Diffstat (limited to 'src/armnn/test/TestLayerVisitor.cpp')
-rw-r--r-- | src/armnn/test/TestLayerVisitor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/armnn/test/TestLayerVisitor.cpp b/src/armnn/test/TestLayerVisitor.cpp index d5f705f0da..25ad5884c8 100644 --- a/src/armnn/test/TestLayerVisitor.cpp +++ b/src/armnn/test/TestLayerVisitor.cpp @@ -75,11 +75,11 @@ void TestLayerVisitor::CheckConstTensorPtrs(const std::string& name, { if (expected == nullptr) { - CHECK_MESSAGE(actual == nullptr, name + " actual should have been a nullptr"); + CHECK_MESSAGE(actual == nullptr, (name + " actual should have been a nullptr")); } else { - CHECK_MESSAGE(actual != nullptr, name + " actual should have been set"); + CHECK_MESSAGE(actual != nullptr, (name + " actual should have been set")); if (actual != nullptr) { CheckConstTensors(*expected, *actual); @@ -93,11 +93,11 @@ void TestLayerVisitor::CheckConstTensorPtrs(const std::string& name, { if (expected == nullptr) { - CHECK_MESSAGE(actual == nullptr, name + " actual should have been a nullptr"); + CHECK_MESSAGE(actual == nullptr, (name + " actual should have been a nullptr")); } else { - CHECK_MESSAGE(actual != nullptr, name + " actual should have been set"); + CHECK_MESSAGE(actual != nullptr, (name + " actual should have been set")); if (actual != nullptr) { CheckConstTensors(*expected, *actual); |