aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/fixtures/SelectFixture.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/validation/fixtures/SelectFixture.h')
-rw-r--r--tests/validation/fixtures/SelectFixture.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/tests/validation/fixtures/SelectFixture.h b/tests/validation/fixtures/SelectFixture.h
index 2ddc97a6cf..8cb6f062f9 100644
--- a/tests/validation/fixtures/SelectFixture.h
+++ b/tests/validation/fixtures/SelectFixture.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018 ARM Limited.
+ * Copyright (c) 2018-2021, 2023 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -63,7 +63,6 @@ template <typename TensorType, typename AccessorType, typename FunctionType, typ
class SelectValidationFixture : public framework::Fixture
{
public:
- template <typename...>
void setup(TensorShape shape, bool has_same_same_rank, DataType data_type)
{
TensorShape condition_shape = detail::select_condition_shape(shape, has_same_same_rank);
@@ -97,10 +96,10 @@ protected:
FunctionType select;
select.configure(&c_t, &x_t, &y_t, &dst_t);
- ARM_COMPUTE_EXPECT(c_t.info()->is_resizable(), framework::LogLevel::ERRORS);
- ARM_COMPUTE_EXPECT(x_t.info()->is_resizable(), framework::LogLevel::ERRORS);
- ARM_COMPUTE_EXPECT(y_t.info()->is_resizable(), framework::LogLevel::ERRORS);
- ARM_COMPUTE_EXPECT(dst_t.info()->is_resizable(), framework::LogLevel::ERRORS);
+ ARM_COMPUTE_ASSERT(c_t.info()->is_resizable());
+ ARM_COMPUTE_ASSERT(x_t.info()->is_resizable());
+ ARM_COMPUTE_ASSERT(y_t.info()->is_resizable());
+ ARM_COMPUTE_ASSERT(dst_t.info()->is_resizable());
// Allocate tensors
c_t.allocator()->allocate();
@@ -108,10 +107,10 @@ protected:
y_t.allocator()->allocate();
dst_t.allocator()->allocate();
- ARM_COMPUTE_EXPECT(!c_t.info()->is_resizable(), framework::LogLevel::ERRORS);
- ARM_COMPUTE_EXPECT(!x_t.info()->is_resizable(), framework::LogLevel::ERRORS);
- ARM_COMPUTE_EXPECT(!y_t.info()->is_resizable(), framework::LogLevel::ERRORS);
- ARM_COMPUTE_EXPECT(!dst_t.info()->is_resizable(), framework::LogLevel::ERRORS);
+ ARM_COMPUTE_ASSERT(!c_t.info()->is_resizable());
+ ARM_COMPUTE_ASSERT(!x_t.info()->is_resizable());
+ ARM_COMPUTE_ASSERT(!y_t.info()->is_resizable());
+ ARM_COMPUTE_ASSERT(!dst_t.info()->is_resizable());
// Fill tensors
fill_bool(AccessorType(c_t), 0);