ArmNN
 20.08
MultiOutput.cpp File Reference
#include <boost/test/unit_test.hpp>
#include "armnnTfParser/ITfParser.hpp"
#include "ParserPrototxtFixture.hpp"

Go to the source code of this file.

Functions

 BOOST_FIXTURE_TEST_CASE (MultiOutMatch, MultiOutMatchFixture)
 
 BOOST_FIXTURE_TEST_CASE (MultiOutFail, MultiOutFailFixture)
 
 BOOST_FIXTURE_TEST_CASE (MultiOutInvalid, MultiOutInvalidFixture)
 

Function Documentation

◆ BOOST_FIXTURE_TEST_CASE() [1/3]

BOOST_FIXTURE_TEST_CASE ( MultiOutMatch  ,
MultiOutMatchFixture   
)

Definition at line 50 of file MultiOutput.cpp.

51 {
52  // Note that the point of this test is to verify the parsing went well.
53  // Here we make sure the softmax has really connected to the input layer.
54  RunTest<2>({ 0, 0, 10000, 0, 0, 0, 0 }, { 0, 0, 1, 0, 0, 0, 0 });
55 }

◆ BOOST_FIXTURE_TEST_CASE() [2/3]

BOOST_FIXTURE_TEST_CASE ( MultiOutFail  ,
MultiOutFailFixture   
)

Definition at line 95 of file MultiOutput.cpp.

96 {
97  // Not running the graph because this is expected to throw an exception during parsing.
98 }

◆ BOOST_FIXTURE_TEST_CASE() [3/3]

BOOST_FIXTURE_TEST_CASE ( MultiOutInvalid  ,
MultiOutInvalidFixture   
)

Definition at line 138 of file MultiOutput.cpp.

References BOOST_AUTO_TEST_SUITE_END().

139 {
140  // Not running the graph because this is expected to throw an exception during parsing.
141 }