IVGCVSW-7854 Remove/rewrite asserts in the backends unit tests.
* Replace calls to ARMNN_ASSERT with DOCTEST CHECK.
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I8904d169b2099d57a344e319b2f14cf5d8392ae8
diff --git a/src/backends/backendsCommon/test/StridedSliceAsyncEndToEndTest.hpp b/src/backends/backendsCommon/test/StridedSliceAsyncEndToEndTest.hpp
index 9ba9057..84bf34d 100644
--- a/src/backends/backendsCommon/test/StridedSliceAsyncEndToEndTest.hpp
+++ b/src/backends/backendsCommon/test/StridedSliceAsyncEndToEndTest.hpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2021,2023 Arm Ltd and Contributors. All rights reserved.
+// Copyright © 2021,2023-2024 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
@@ -127,7 +127,7 @@
float tolerance = 0.000001f,
size_t numThreads = 1)
{
- ARMNN_ASSERT(numThreads >= 1);
+ CHECK(numThreads >= 1);
const unsigned int numberOfInferences = numThreads == 1 ? 1 : 1000;
// Create Runtime in which test will run