From 1625efc870f1a8b7c6e6382277ddbb245f91a294 Mon Sep 17 00:00:00 2001 From: Sadik Armagan Date: Thu, 10 Jun 2021 18:24:34 +0100 Subject: IVGCVSW-5963 'Move unit tests to new framework' * Used doctest in ArmNN unit tests Signed-off-by: Sadik Armagan Change-Id: Ia9cf5fc72775878885c5f864abf2c56b3a935f1a --- src/backends/backendsCommon/test/ConcatEndToEndTestImpl.hpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/backends/backendsCommon/test/ConcatEndToEndTestImpl.hpp') diff --git a/src/backends/backendsCommon/test/ConcatEndToEndTestImpl.hpp b/src/backends/backendsCommon/test/ConcatEndToEndTestImpl.hpp index 58a1f39a78..5b2f33fc1a 100644 --- a/src/backends/backendsCommon/test/ConcatEndToEndTestImpl.hpp +++ b/src/backends/backendsCommon/test/ConcatEndToEndTestImpl.hpp @@ -12,7 +12,7 @@ #include -#include +#include #include @@ -64,7 +64,7 @@ void ConcatDim0EndToEnd(const std::vector& backends) // Builds up the structure of the network INetworkPtr net = CreateConcatNetwork(inputShapes, outputShape, concatAxis); - BOOST_TEST_CHECKPOINT("create a network"); + CHECK(net); // Creates structures for input & output. std::vector inputData{ @@ -128,8 +128,6 @@ void ConcatDim1EndToEnd(const std::vector& backends) // Builds up the structure of the network INetworkPtr net = CreateConcatNetwork(inputShapes, outputShape, concatAxis); - BOOST_TEST_CHECKPOINT("create a network"); - // Creates structures for input & output. std::vector inputData{ 1, 2, @@ -192,8 +190,6 @@ void ConcatDim2EndToEnd(const std::vector& backends) // Builds up the structure of the network INetworkPtr net = CreateConcatNetwork(inputShapes, outputShape, concatAxis); - BOOST_TEST_CHECKPOINT("create a network"); - // Creates structures for input & output. std::vector inputData{ 1, 2, @@ -255,8 +251,6 @@ void ConcatDim3EndToEnd(const std::vector& backends) // Builds up the structure of the network INetworkPtr net = CreateConcatNetwork(inputShapes, outputShape, concatAxis); - BOOST_TEST_CHECKPOINT("create a network"); - // Creates structures for input & output. std::vector inputData{ 1, 2, -- cgit v1.2.1