Lines Matching refs:mModel
29 mIn = mModel.addOperand(&type); in SetUp()
30 mOut = mModel.addOperand(&type); in SetUp()
31 mModel.addOperation(ANEURALNETWORKS_TANH, {mIn}, {mOut}); in SetUp()
34 Model mModel; member in WrapperTestModelFinish
39 ASSERT_TRUE(mModel.isValid()); in TEST_F()
40 mModel.identifyInputsAndOutputs({mIn}, {mOut}); in TEST_F()
41 ASSERT_TRUE(mModel.isValid()); in TEST_F()
42 ASSERT_EQ(mModel.finish(), Result::NO_ERROR); in TEST_F()
43 ASSERT_TRUE(mModel.isValid()); in TEST_F()
47 ASSERT_TRUE(mModel.isValid()); in TEST_F()
51 mModel.identifyInputsAndOutputs({}, {}); in TEST_F()
52 ASSERT_FALSE(mModel.isValid()); in TEST_F()
53 ASSERT_EQ(mModel.finish(), Result::BAD_STATE); in TEST_F()
54 ASSERT_FALSE(mModel.isValid()); in TEST_F()
58 ASSERT_TRUE(mModel.isValid()); in TEST_F()
59 mModel.identifyInputsAndOutputs({mIn}, {mOut}); in TEST_F()
60 ASSERT_TRUE(mModel.isValid()); in TEST_F()
61 ASSERT_EQ(mModel.finish(), Result::NO_ERROR); in TEST_F()
62 ASSERT_TRUE(mModel.isValid()); in TEST_F()
65 ASSERT_EQ(mModel.finish(), Result::BAD_STATE); in TEST_F()
66 ASSERT_FALSE(mModel.isValid()); in TEST_F()