aboutsummaryrefslogtreecommitdiff
path: root/test/TestTensor.hpp
diff options
context:
space:
mode:
authorNarumol Prangnawarat <narumol.prangnawarat@arm.com>2020-04-06 16:46:21 +0100
committerNarumol Prangnawarat <narumol.prangnawarat@arm.com>2020-04-07 14:55:36 +0000
commit4d07e5e0e2f32184e395f44cc50eedf3de284d22 (patch)
tree880d7a30c3d36f1892312da7ed6d04d7dbf2f040 /test/TestTensor.hpp
parentdbae2476905291b82e4b9bb7828be83ae7ddd84f (diff)
downloadandroid-nn-driver-4d07e5e0e2f32184e395f44cc50eedf3de284d22.tar.gz
IVGCVSW-4485 Remove Boost assert
Signed-off-by: Narumol Prangnawarat <narumol.prangnawarat@arm.com> Change-Id: If602024a339df7548333e470545f9400c3daf7b3
Diffstat (limited to 'test/TestTensor.hpp')
-rw-r--r--test/TestTensor.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/TestTensor.hpp b/test/TestTensor.hpp
index 623c9fbd..1cd1950d 100644
--- a/test/TestTensor.hpp
+++ b/test/TestTensor.hpp
@@ -6,6 +6,8 @@
#include "../ArmnnDriver.hpp"
+#include <armnn/utility/Assert.hpp>
+
namespace driverTestHelpers
{
@@ -17,7 +19,7 @@ public:
: m_Shape{shape}
, m_Data{data}
{
- BOOST_ASSERT(m_Shape.GetNumElements() == m_Data.size());
+ ARMNN_ASSERT(m_Shape.GetNumElements() == m_Data.size());
}
hidl_vec<uint32_t> GetDimensions() const;