aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/fixtures/UnstackFixture.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/validation/fixtures/UnstackFixture.h')
-rw-r--r--tests/validation/fixtures/UnstackFixture.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/validation/fixtures/UnstackFixture.h b/tests/validation/fixtures/UnstackFixture.h
index f20a128415..30b7dd5539 100644
--- a/tests/validation/fixtures/UnstackFixture.h
+++ b/tests/validation/fixtures/UnstackFixture.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2018 ARM Limited.
+ * Copyright (c) 2018-2021, 2023 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -47,7 +47,6 @@ template <typename TensorType, typename ITensorType, typename AccessorType, type
class UnstackValidationFixture : public framework::Fixture
{
public:
- template <typename...>
void setup(TensorShape input_shape, int axis, int num, DataType data_type)
{
_target = compute_target(input_shape, axis, num, data_type);
@@ -80,10 +79,10 @@ protected:
for(auto &out : output_slices)
{
out.allocator()->allocate();
- ARM_COMPUTE_EXPECT(!out.info()->is_resizable(), framework::LogLevel::ERRORS);
+ ARM_COMPUTE_ASSERT(!out.info()->is_resizable());
}
input_tensor.allocator()->allocate();
- ARM_COMPUTE_EXPECT(!input_tensor.info()->is_resizable(), framework::LogLevel::ERRORS);
+ ARM_COMPUTE_ASSERT(!input_tensor.info()->is_resizable());
fill(AccessorType(input_tensor), 0);
// Compute function
unstack.run();