From 8bf579a1914c1fa460268518de59ce21961e31f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Pietil=C3=A4?= Date: Fri, 15 Aug 2025 07:51:40 +0000 Subject: [PATCH] Improve sequence test. --- test/utils/test_sequencies.cpp | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/test/utils/test_sequencies.cpp b/test/utils/test_sequencies.cpp index cc88d042f9..b5d1470561 100644 --- a/test/utils/test_sequencies.cpp +++ b/test/utils/test_sequencies.cpp @@ -20,6 +20,9 @@ TEST(Sequence, TestCreatingAccessSequence) constexpr auto SliceLengths = Sequence<4, 8, 1, 1, 4, 1, 2, 1>{}; + // Generates a sequence (1, 1, 1, 1, 1, 1, 2, 1). + // nDim gives the size of the sequence and DstVectorDim the position where to insert + // value DstScalarPerVector. The rest of the sequence is filled with 1s. constexpr auto ScalarPerAccess = generate_sequence( detail::lambda_scalar_per_access{}, Number{}); @@ -28,15 +31,5 @@ TEST(Sequence, TestCreatingAccessSequence) constexpr bool is_valid = Rem == Zeros; - std::cout << "SliceLengths: "; - SliceLengths.Print(); - std::cout << std::endl; - std::cout << "ScalarPerAccess: "; - ScalarPerAccess.Print(); - std::cout << std::endl; - std::cout << "Rem: "; - Rem.Print(); - std::cout << std::endl; - - EXPECT_EQ(is_valid, true); + EXPECT_TRUE(is_valid); }