aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/fixtures/ScharrFixture.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/validation/fixtures/ScharrFixture.h')
-rw-r--r--tests/validation/fixtures/ScharrFixture.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/tests/validation/fixtures/ScharrFixture.h b/tests/validation/fixtures/ScharrFixture.h
index 36b8e98fb8..b54a9d29e6 100644
--- a/tests/validation/fixtures/ScharrFixture.h
+++ b/tests/validation/fixtures/ScharrFixture.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 ARM Limited.
+ * Copyright (c) 2017-2021, 2023 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -66,7 +66,6 @@ template <typename TensorType, typename AccessorType, typename FunctionType, typ
class ScharrValidationFixture : public framework::Fixture
{
public:
- template <typename...>
void setup(TensorShape shape, BorderMode border_mode, Format format, GradientDimension gradient_dimension)
{
// Generate a random constant value
@@ -120,18 +119,18 @@ protected:
ARM_COMPUTE_ERROR("Gradient dimension not supported");
}
- ARM_COMPUTE_EXPECT(src.info()->is_resizable(), framework::LogLevel::ERRORS);
- ARM_COMPUTE_EXPECT(dst_x.info()->is_resizable(), framework::LogLevel::ERRORS);
- ARM_COMPUTE_EXPECT(dst_y.info()->is_resizable(), framework::LogLevel::ERRORS);
+ ARM_COMPUTE_ASSERT(src.info()->is_resizable());
+ ARM_COMPUTE_ASSERT(dst_x.info()->is_resizable());
+ ARM_COMPUTE_ASSERT(dst_y.info()->is_resizable());
// Allocate tensors
src.allocator()->allocate();
dst_x.allocator()->allocate();
dst_y.allocator()->allocate();
- ARM_COMPUTE_EXPECT(!src.info()->is_resizable(), framework::LogLevel::ERRORS);
- ARM_COMPUTE_EXPECT(!dst_x.info()->is_resizable(), framework::LogLevel::ERRORS);
- ARM_COMPUTE_EXPECT(!dst_y.info()->is_resizable(), framework::LogLevel::ERRORS);
+ ARM_COMPUTE_ASSERT(!src.info()->is_resizable());
+ ARM_COMPUTE_ASSERT(!dst_x.info()->is_resizable());
+ ARM_COMPUTE_ASSERT(!dst_y.info()->is_resizable());
// Fill tensors
fill(AccessorType(src));