diff options
author | Colm Donelan <colm.donelan@arm.com> | 2024-02-21 15:58:35 +0000 |
---|---|---|
committer | Colm Donelan <colm.donelan@arm.com> | 2024-02-22 10:06:50 +0000 |
commit | 68c60e93d445cc51bd9f650aa3489f57d2227e13 (patch) | |
tree | b8f4a10432e07dd1bd6e39f0650f0c0bc6b77d6d /src/backends/reference/test/RefTensorHandleTests.cpp | |
parent | b4ef16334900af33bf4321f28c90f62bf32238cd (diff) | |
download | armnn-68c60e93d445cc51bd9f650aa3489f57d2227e13.tar.gz |
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
Diffstat (limited to 'src/backends/reference/test/RefTensorHandleTests.cpp')
-rw-r--r-- | src/backends/reference/test/RefTensorHandleTests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backends/reference/test/RefTensorHandleTests.cpp b/src/backends/reference/test/RefTensorHandleTests.cpp index 883df6fe4d..792522851a 100644 --- a/src/backends/reference/test/RefTensorHandleTests.cpp +++ b/src/backends/reference/test/RefTensorHandleTests.cpp @@ -1,5 +1,5 @@ // -// Copyright © 2017,2022 Arm Ltd and Contributors. All rights reserved. +// Copyright © 2017, 2022, 2024 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // @@ -190,7 +190,7 @@ TEST_CASE("RefTensorHandleSupportsInPlaceComputation") RefTensorHandleFactory handleFactory(memoryManager); // RefTensorHandleFactory does not support InPlaceComputation - ARMNN_ASSERT(!(handleFactory.SupportsInPlaceComputation())); + CHECK(!(handleFactory.SupportsInPlaceComputation())); } TEST_CASE("TestManagedConstTensorHandle") |