From a067a2519063b9dee139e409001f3865ef64ba20 Mon Sep 17 00:00:00 2001 From: Mark Horvath Date: Wed, 29 Jan 2025 14:51:31 +0000 Subject: [PATCH] Remove Array2D default initialization test Array2D used to initialize the allocated memory to all zeros by default, but that behavior was removed for performance reasons. As the systems we are testing on are giving zeroed out memory at new allocations so far we did not see this test failing. --- test/framework/test_array2d.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/framework/test_array2d.cpp b/test/framework/test_array2d.cpp index b3114ea0a..370601e15 100644 --- a/test/framework/test_array2d.cpp +++ b/test/framework/test_array2d.cpp @@ -1,4 +1,4 @@ -// SPDX-FileCopyrightText: 2023 - 2024 Arm Limited and/or its affiliates +// SPDX-FileCopyrightText: 2023 - 2025 Arm Limited and/or its affiliates // // SPDX-License-Identifier: Apache-2.0 @@ -100,9 +100,6 @@ TEST(Array2D, At) { array.at(0, 0)[0] = 2; EXPECT_EQ(array.at(0, 0)[0], 2); - - const test::Array2D const_array{width, height}; - EXPECT_EQ(const_array.at(0, 0)[0], 0); } // Tests that test::Array2D.set() works. -- GitLab