aboutsummaryrefslogtreecommitdiff
path: root/src/armnnDeserializer/test/DeserializeShape.cpp
diff options
context:
space:
mode:
authorMatthew Sloyan <matthew.sloyan@arm.com>2021-06-20 18:45:05 +0100
committerTeresaARM <teresa.charlinreyes@arm.com>2021-06-21 11:25:27 +0000
commit7a00eaa6ecf121623823b1951c0e6c9093271adf (patch)
tree78503cef33c652e8567595ac3255b9041556e133 /src/armnnDeserializer/test/DeserializeShape.cpp
parent50f7b327e1871596355bbfed8aae5d4f7b2caae7 (diff)
downloadarmnn-7a00eaa6ecf121623823b1951c0e6c9093271adf.tar.gz
Remove remaining boost tests
* Updated unit tests to use doctest. Signed-off-by: Matthew Sloyan <matthew.sloyan@arm.com> Change-Id: I5231225cd0830f16cc0ef20e9ef27e7b92feab19
Diffstat (limited to 'src/armnnDeserializer/test/DeserializeShape.cpp')
-rw-r--r--src/armnnDeserializer/test/DeserializeShape.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/armnnDeserializer/test/DeserializeShape.cpp b/src/armnnDeserializer/test/DeserializeShape.cpp
index a20fb59699..5d5e04e7a4 100644
--- a/src/armnnDeserializer/test/DeserializeShape.cpp
+++ b/src/armnnDeserializer/test/DeserializeShape.cpp
@@ -3,14 +3,15 @@
// SPDX-License-Identifier: MIT
//
-#include <boost/test/unit_test.hpp>
#include "ParserFlatbuffersSerializeFixture.hpp"
#include <armnnDeserializer/IDeserializer.hpp>
-#include <string>
+#include <doctest/doctest.h>
-BOOST_AUTO_TEST_SUITE(Deserializer)
+#include <string>
+TEST_SUITE("Deserializer_Shape")
+{
struct ShapeFixture : public ParserFlatbuffersSerializeFixture
{
explicit ShapeFixture()
@@ -114,13 +115,12 @@ struct ShapeFixture : public ParserFlatbuffersSerializeFixture
}
};
-
struct SimpleShapeFixture : ShapeFixture
{
SimpleShapeFixture() : ShapeFixture() {}
};
-BOOST_FIXTURE_TEST_CASE(DeserializeShape, SimpleShapeFixture)
+TEST_CASE_FIXTURE(SimpleShapeFixture, "DeserializeShape")
{
RunTest<1, armnn::DataType::Signed32>(
0,
@@ -128,4 +128,4 @@ BOOST_FIXTURE_TEST_CASE(DeserializeShape, SimpleShapeFixture)
{{"OutputLayer",{ 1, 3, 3, 1 }}});
}
-BOOST_AUTO_TEST_SUITE_END()
+}