[GNA] Moved am_intel_dnn tests (#10294)

* [GNA] am_intel_dnn tests moved from deprecated tests

* fixed code style

* [GNA]fixed copyright date
This commit is contained in:
Andrey Noskov 2022-02-16 14:21:12 +03:00 committed by GitHub
parent e2948a807c
commit 7a24f53b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,20 +3,18 @@
//
#include <gtest/gtest.h>
#include <inference_engine.hpp>
#include <backend/am_intel_dnn.hpp>
#include "gna_matcher.hpp"
using namespace testing;
class GNA_AmIntelDnn_test : public GNATest<> {
class GNA_AmIntelDnn_test : public ::testing::Test {
protected:
GNAPluginNS::backend::AMIntelDNN amIntelDnn;
Gna2Model desc = {};
};
TEST_F(GNA_AmIntelDnn_test, intel_nnet_type_tSecondInitNotAllowed) {
desc.Operations = nullptr;
amIntelDnn.component.resize(1);