Browse Source

add ut

tags/v1.2.0
lichun 3 years ago
parent
commit
c82d7e2fa3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      tests/ut/ge/graph/load/davinci_model_unittest.cc

+ 2
- 2
tests/ut/ge/graph/load/davinci_model_unittest.cc View File

@@ -46,7 +46,7 @@ class UtestDavinciModel : public testing::Test {
}
};

/*TEST_F(UtestDavinciModel, init_success) {
TEST_F(UtestDavinciModel, init_success) {
DavinciModel model(0, nullptr);
ComputeGraphPtr graph = make_shared<ComputeGraph>("default");
ProfilingManager::Instance().is_load_profiling_ = true;
@@ -130,7 +130,7 @@ class UtestDavinciModel : public testing::Test {
EXPECT_EQ(outputs.size(), 1);

ProfilingManager::Instance().is_load_profiling_ = false;
}*/
}

TEST_F(UtestDavinciModel, init_data_op) {
DavinciModel model(0, nullptr);


Loading…
Cancel
Save