aboutsummaryrefslogtreecommitdiff
path: root/src/armnnDeserializer/test/DeserializeDepthToSpace.cpp
diff options
context:
space:
mode:
authorSadik Armagan <sadik.armagan@arm.com>2021-06-10 18:24:34 +0100
committerSadik Armagan <sadik.armagan@arm.com>2021-06-11 10:33:16 +0000
commit1625efc870f1a8b7c6e6382277ddbb245f91a294 (patch)
tree39fbbaa15ed7eb81337b082c2d20b0af68b91c02 /src/armnnDeserializer/test/DeserializeDepthToSpace.cpp
parent958e0ba61e940a8d11955cf2a10f681c7c47e1fa (diff)
downloadarmnn-1625efc870f1a8b7c6e6382277ddbb245f91a294.tar.gz
IVGCVSW-5963 'Move unit tests to new framework'
* Used doctest in ArmNN unit tests Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: Ia9cf5fc72775878885c5f864abf2c56b3a935f1a
Diffstat (limited to 'src/armnnDeserializer/test/DeserializeDepthToSpace.cpp')
-rw-r--r--src/armnnDeserializer/test/DeserializeDepthToSpace.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/armnnDeserializer/test/DeserializeDepthToSpace.cpp b/src/armnnDeserializer/test/DeserializeDepthToSpace.cpp
index 55de807a7a..e446a2dab4 100644
--- a/src/armnnDeserializer/test/DeserializeDepthToSpace.cpp
+++ b/src/armnnDeserializer/test/DeserializeDepthToSpace.cpp
@@ -7,12 +7,10 @@
#include <armnnDeserializer/IDeserializer.hpp>
-#include <boost/test/unit_test.hpp>
-
#include <string>
-BOOST_AUTO_TEST_SUITE(Deserializer)
-
+TEST_SUITE("Deserializer_DepthToSpace")
+{
struct DepthToSpaceFixture : public ParserFlatbuffersSerializeFixture
{
explicit DepthToSpaceFixture(const std::string& inputShape,
@@ -115,7 +113,7 @@ struct DepthToSpaceFloat32Fixture : DepthToSpaceFixture
"Float32") {} // data type
};
-BOOST_FIXTURE_TEST_CASE(DepthToSpaceFloat32, DepthToSpaceFloat32Fixture)
+TEST_CASE_FIXTURE(DepthToSpaceFloat32Fixture, "DepthToSpaceFloat32")
{
RunTest<4, armnn::DataType::Float32>(
0,
@@ -133,4 +131,4 @@ BOOST_FIXTURE_TEST_CASE(DepthToSpaceFloat32, DepthToSpaceFloat32Fixture)
});
}
-BOOST_AUTO_TEST_SUITE_END()
+}