Publishing 2019 R1 content
[platform/upstream/dldt.git] / inference-engine / tests / unit / inference_engine_tests / cnn_network_test.cpp
1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
3 //
4
5 #include <gtest/gtest.h>
6 #include "cpp/ie_cnn_net_reader.h"
7 #include "cpp/ie_cnn_network.h"
8
9 using namespace InferenceEngine;
10
11 class CNNNetworkTests : public ::testing::Test {
12 protected:
13     virtual void TearDown() {
14     }
15
16     virtual void SetUp() {
17     }
18
19 public:
20
21 };
22
23 TEST_F(CNNNetworkTests, throwsOnInitWithNull) {
24     ASSERT_THROW(CNNNetwork network(nullptr), InferenceEngine::details::InferenceEngineException);
25 }