diff options
Diffstat (limited to 'src/armnnTfParser/test')
-rw-r--r-- | src/armnnTfParser/test/AddN.cpp | 4 | ||||
-rw-r--r-- | src/armnnTfParser/test/Convolution2d.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/armnnTfParser/test/AddN.cpp b/src/armnnTfParser/test/AddN.cpp index 19affa85c7..16b1124e24 100644 --- a/src/armnnTfParser/test/AddN.cpp +++ b/src/armnnTfParser/test/AddN.cpp @@ -3,7 +3,7 @@ // SPDX-License-Identifier: MIT // -#include <boost/assert.hpp> +#include <armnn/utility/Assert.hpp> #include <boost/test/unit_test.hpp> #include "armnnTfParser/ITfParser.hpp" @@ -19,7 +19,7 @@ struct AddNFixture : public armnnUtils::ParserPrototxtFixture<armnnTfParser::ITf { AddNFixture(const std::vector<armnn::TensorShape> inputShapes, unsigned int numberOfInputs) { - BOOST_ASSERT(inputShapes.size() == numberOfInputs); + ARMNN_ASSERT(inputShapes.size() == numberOfInputs); m_Prototext = ""; for (unsigned int i = 0; i < numberOfInputs; i++) { diff --git a/src/armnnTfParser/test/Convolution2d.cpp b/src/armnnTfParser/test/Convolution2d.cpp index aead1fe965..cf714894a2 100644 --- a/src/armnnTfParser/test/Convolution2d.cpp +++ b/src/armnnTfParser/test/Convolution2d.cpp @@ -152,7 +152,7 @@ struct Convolution2dFixture : public armnnUtils::ParserPrototxtFixture<armnnTfPa "} \n"); // Manual height computation based on stride parameter. - BOOST_ASSERT_MSG(stride == 1 || stride == 2, "Add support for strides other than 1 or 2."); + ARMNN_ASSERT_MSG(stride == 1 || stride == 2, "Add support for strides other than 1 or 2."); std::array<unsigned int, 4> dims; if (dataLayout == "NHWC") { |