ArmNN
 20.08
Const.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 (ValidConstTest, ConstValidFixture)
 
 BOOST_FIXTURE_TEST_CASE (IncorrectDataTypeConst, ConstInvalidFixture)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/2]

BOOST_FIXTURE_TEST_CASE ( ValidConstTest  ,
ConstValidFixture   
)

Definition at line 77 of file Const.cpp.

78 {
79  RunTest<1>({ }, {{ "Output" , {0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0}}});
80 }

◆ BOOST_FIXTURE_TEST_CASE() [2/2]

BOOST_FIXTURE_TEST_CASE ( IncorrectDataTypeConst  ,
ConstInvalidFixture   
)

Definition at line 82 of file Const.cpp.

References BOOST_AUTO_TEST_SUITE_END().

83 {
84  BOOST_CHECK_THROW( Setup(), armnn::ParseException);
85 }