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/armnnTfLiteParser/test/Pack.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/armnnTfLiteParser/test/Pack.cpp') diff --git a/src/armnnTfLiteParser/test/Pack.cpp b/src/armnnTfLiteParser/test/Pack.cpp index 011312f7c9..4aff8feca4 100644 --- a/src/armnnTfLiteParser/test/Pack.cpp +++ b/src/armnnTfLiteParser/test/Pack.cpp @@ -3,15 +3,14 @@ // SPDX-License-Identifier: MIT // -#include #include "ParserFlatbuffersFixture.hpp" #include "../TfLiteParser.hpp" #include #include -BOOST_AUTO_TEST_SUITE(TensorflowLiteParser) - +TEST_SUITE("TensorflowLiteParser_Pack") +{ struct PackFixture : public ParserFlatbuffersFixture { explicit PackFixture(const std::string & inputShape, @@ -103,7 +102,7 @@ struct SimplePackFixture : PackFixture "3") {} }; -BOOST_FIXTURE_TEST_CASE(ParsePack, SimplePackFixture) +TEST_CASE_FIXTURE(SimplePackFixture, "ParsePack") { RunTest<4, armnn::DataType::Float32>( 0, @@ -150,4 +149,4 @@ BOOST_FIXTURE_TEST_CASE(ParsePack, SimplePackFixture) 18, 36 } } }); } -BOOST_AUTO_TEST_SUITE_END() +} -- cgit v1.2.1