diff --git a/tests/capi/unittest_capi_datatype_consistency.cc b/tests/capi/unittest_capi_datatype_consistency.cc index 74bc2c6b..bbd92aad 100644 --- a/tests/capi/unittest_capi_datatype_consistency.cc +++ b/tests/capi/unittest_capi_datatype_consistency.cc @@ -25,8 +25,7 @@ */ TEST (nnstreamer_datatypes, test_all_1) { - EXPECT_EQ (8, (int) NNS_TENSOR_RANK_LIMIT); - EXPECT_EQ (16, (int) ML_TENSOR_RANK_LIMIT); + EXPECT_EQ ((int) NNS_TENSOR_RANK_LIMIT, (int) ML_TENSOR_RANK_LIMIT); /** @todo restore this TC when NNS_TENSOR_SIZE_LIMIT is changed to 256 */ // EXPECT_EQ ((int) NNS_TENSOR_SIZE_LIMIT, (int) ML_TENSOR_SIZE_LIMIT); EXPECT_EQ (sizeof (tensor_dim[0]), sizeof (ml_tensor_dimension[0])); diff --git a/tests/capi/unittest_capi_inference.cc b/tests/capi/unittest_capi_inference.cc index ca68c001..076b1b78 100644 --- a/tests/capi/unittest_capi_inference.cc +++ b/tests/capi/unittest_capi_inference.cc @@ -3615,9 +3615,6 @@ TEST (nnstreamer_capi_util, get_nth_info_00) status = ml_tensors_info_destroy (info); ASSERT_EQ (status, ML_ERROR_NONE); - - info_s = nullptr; - tinfo_s = nullptr; } /**