@@ -13,8 +13,7 @@ TEST(core_tests, check_int32_t) {
13
13
std::vector<int32_t > out (1 , 0 );
14
14
15
15
// Create TaskData
16
- std::shared_ptr<ppc::core::TaskData> taskData =
17
- std::make_shared<ppc::core::TaskData>();
16
+ std::shared_ptr<ppc::core::TaskData> taskData = std::make_shared<ppc::core::TaskData>();
18
17
taskData->inputs .emplace_back (reinterpret_cast <uint8_t *>(in.data ()));
19
18
taskData->inputs_count .emplace_back (in.size ());
20
19
taskData->outputs .emplace_back (reinterpret_cast <uint8_t *>(out.data ()));
@@ -36,8 +35,7 @@ TEST(core_tests, check_validate_func) {
36
35
std::vector<int32_t > out (2 , 0 );
37
36
38
37
// Create TaskData
39
- std::shared_ptr<ppc::core::TaskData> taskData =
40
- std::make_shared<ppc::core::TaskData>();
38
+ std::shared_ptr<ppc::core::TaskData> taskData = std::make_shared<ppc::core::TaskData>();
41
39
taskData->inputs .emplace_back (reinterpret_cast <uint8_t *>(in.data ()));
42
40
taskData->inputs_count .emplace_back (in.size ());
43
41
taskData->outputs .emplace_back (reinterpret_cast <uint8_t *>(out.data ()));
@@ -55,8 +53,7 @@ TEST(core_tests, check_double) {
55
53
std::vector<double > out (1 , 0 );
56
54
57
55
// Create TaskData
58
- std::shared_ptr<ppc::core::TaskData> taskData =
59
- std::make_shared<ppc::core::TaskData>();
56
+ std::shared_ptr<ppc::core::TaskData> taskData = std::make_shared<ppc::core::TaskData>();
60
57
taskData->inputs .emplace_back (reinterpret_cast <uint8_t *>(in.data ()));
61
58
taskData->inputs_count .emplace_back (in.size ());
62
59
taskData->outputs .emplace_back (reinterpret_cast <uint8_t *>(out.data ()));
@@ -78,8 +75,7 @@ TEST(core_tests, check_uint8_t) {
78
75
std::vector<uint8_t > out (1 , 0 );
79
76
80
77
// Create TaskData
81
- std::shared_ptr<ppc::core::TaskData> taskData =
82
- std::make_shared<ppc::core::TaskData>();
78
+ std::shared_ptr<ppc::core::TaskData> taskData = std::make_shared<ppc::core::TaskData>();
83
79
taskData->inputs .emplace_back (reinterpret_cast <uint8_t *>(in.data ()));
84
80
taskData->inputs_count .emplace_back (in.size ());
85
81
taskData->outputs .emplace_back (reinterpret_cast <uint8_t *>(out.data ()));
@@ -101,8 +97,7 @@ TEST(core_tests, check_int64_t) {
101
97
std::vector<int64_t > out (1 , 0 );
102
98
103
99
// Create TaskData
104
- std::shared_ptr<ppc::core::TaskData> taskData =
105
- std::make_shared<ppc::core::TaskData>();
100
+ std::shared_ptr<ppc::core::TaskData> taskData = std::make_shared<ppc::core::TaskData>();
106
101
taskData->inputs .emplace_back (reinterpret_cast <uint8_t *>(in.data ()));
107
102
taskData->inputs_count .emplace_back (in.size ());
108
103
taskData->outputs .emplace_back (reinterpret_cast <uint8_t *>(out.data ()));
@@ -124,8 +119,7 @@ TEST(core_tests, check_float) {
124
119
std::vector<float > out (1 , 0 );
125
120
126
121
// Create TaskData
127
- std::shared_ptr<ppc::core::TaskData> taskData =
128
- std::make_shared<ppc::core::TaskData>();
122
+ std::shared_ptr<ppc::core::TaskData> taskData = std::make_shared<ppc::core::TaskData>();
129
123
taskData->inputs .emplace_back (reinterpret_cast <uint8_t *>(in.data ()));
130
124
taskData->inputs_count .emplace_back (in.size ());
131
125
taskData->outputs .emplace_back (reinterpret_cast <uint8_t *>(out.data ()));
@@ -147,8 +141,7 @@ TEST(core_tests, check_wrong_order) {
147
141
std::vector<float > out (1 , 0 );
148
142
149
143
// Create TaskData
150
- std::shared_ptr<ppc::core::TaskData> taskData =
151
- std::make_shared<ppc::core::TaskData>();
144
+ std::shared_ptr<ppc::core::TaskData> taskData = std::make_shared<ppc::core::TaskData>();
152
145
taskData->inputs .emplace_back (reinterpret_cast <uint8_t *>(in.data ()));
153
146
taskData->inputs_count .emplace_back (in.size ());
154
147
taskData->outputs .emplace_back (reinterpret_cast <uint8_t *>(out.data ()));
0 commit comments