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