diff options
Diffstat (limited to 'src/armnn/test/EndToEndTest.cpp')
-rw-r--r-- | src/armnn/test/EndToEndTest.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/armnn/test/EndToEndTest.cpp b/src/armnn/test/EndToEndTest.cpp index 56ff454703..705258e07f 100644 --- a/src/armnn/test/EndToEndTest.cpp +++ b/src/armnn/test/EndToEndTest.cpp @@ -8,13 +8,13 @@ #include <armnn/INetwork.hpp> #include <armnn/utility/IgnoreUnused.hpp> -#include <boost/test/unit_test.hpp> +#include <doctest/doctest.h> #include <set> -BOOST_AUTO_TEST_SUITE(EndToEnd) - -BOOST_AUTO_TEST_CASE(ErrorOnLoadNetwork) +TEST_SUITE("EndToEnd") +{ +TEST_CASE("ErrorOnLoadNetwork") { using namespace armnn; @@ -47,13 +47,13 @@ BOOST_AUTO_TEST_CASE(ErrorOnLoadNetwork) try { Optimize(*net, backends, runtime->GetDeviceSpec(), OptimizerOptions(), errMessages); - BOOST_FAIL("Should have thrown an exception."); + FAIL("Should have thrown an exception."); } catch (const InvalidArgumentException& e) { // Different exceptions are thrown on different backends } - BOOST_CHECK(errMessages.size() > 0); + CHECK(errMessages.size() > 0); } -BOOST_AUTO_TEST_SUITE_END() +} |