ArmNN
 20.02
ProtoxtFixture.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "armnnOnnxParser/IOnnxParser.hpp"
#include "ParserPrototxtFixture.hpp"

Go to the source code of this file.

Functions

 BOOST_FIXTURE_TEST_CASE (ProtoxtTest, ProtoxtTestFixture)
 
 BOOST_FIXTURE_TEST_CASE (ProtoxtTestWithBadInputs, ProtoxtTestFixture)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/2]

BOOST_FIXTURE_TEST_CASE ( ProtoxtTest  ,
ProtoxtTestFixture   
)

Definition at line 68 of file ProtoxtFixture.cpp.

69 {
70  //TODO : add a test to check if the inputs and outputs are correctly inferred.
71 }

◆ BOOST_FIXTURE_TEST_CASE() [2/2]

BOOST_FIXTURE_TEST_CASE ( ProtoxtTestWithBadInputs  ,
ProtoxtTestFixture   
)

Definition at line 73 of file ProtoxtFixture.cpp.

References BOOST_AUTO_TEST_SUITE_END().

74 {
75 
76  // BOOST_CHECK_THROW(RunTest<4>({{ "InexistantInput" , {0.0, 1.0, 2.0, 3.0}}},
77  // {{ "InexistantOutput" , {0.0, 1.0, 2.0, 3.0}}}),
78  // armnn::InvalidArgumentException );
79 }