From c82d7e2fa384254128e2a204d7ee965d51a37060 Mon Sep 17 00:00:00 2001 From: lichun Date: Fri, 29 Jan 2021 12:56:26 +0800 Subject: [PATCH] add ut --- tests/ut/ge/graph/load/davinci_model_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ut/ge/graph/load/davinci_model_unittest.cc b/tests/ut/ge/graph/load/davinci_model_unittest.cc index 47968345..b803b624 100644 --- a/tests/ut/ge/graph/load/davinci_model_unittest.cc +++ b/tests/ut/ge/graph/load/davinci_model_unittest.cc @@ -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("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);