diff options
Diffstat (limited to 'src/armnnTfLiteParser/test/LeakyRelu.cpp')
-rw-r--r-- | src/armnnTfLiteParser/test/LeakyRelu.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/armnnTfLiteParser/test/LeakyRelu.cpp b/src/armnnTfLiteParser/test/LeakyRelu.cpp index 471c01444c..20f95abee5 100644 --- a/src/armnnTfLiteParser/test/LeakyRelu.cpp +++ b/src/armnnTfLiteParser/test/LeakyRelu.cpp @@ -3,15 +3,14 @@ // SPDX-License-Identifier: MIT // -#include <boost/test/unit_test.hpp> #include "ParserFlatbuffersFixture.hpp" #include "../TfLiteParser.hpp" #include <string> #include <iostream> -BOOST_AUTO_TEST_SUITE(TensorflowLiteParser) - +TEST_SUITE("TensorflowLiteParser_LeakyRelu") +{ struct LeakyReluFixture : public ParserFlatbuffersFixture { explicit LeakyReluFixture() @@ -69,11 +68,11 @@ struct LeakyReluFixture : public ParserFlatbuffersFixture } }; -BOOST_FIXTURE_TEST_CASE(ParseLeakyRelu, LeakyReluFixture) +TEST_CASE_FIXTURE(LeakyReluFixture, "ParseLeakyRelu") { RunTest<2, armnn::DataType::Float32>(0, {{ "inputTensor", { -0.1f, -0.2f, -0.3f, -0.4f, 0.1f, 0.2f, 0.3f }}}, {{ "outputTensor", { -0.001f, -0.002f, -0.003f, -0.004f, 0.1f, 0.2f, 0.3f }}}); } -BOOST_AUTO_TEST_SUITE_END() +} |