From 73ded8c9a85d7ef8e576bf823414b456edde4e3f Mon Sep 17 00:00:00 2001 From: Christian Zimmermann Date: Wed, 12 Oct 2022 16:53:26 +0200 Subject: [PATCH] tests: fix signed vs unsigned again... --- src/tests/xfor_unit_test.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/tests/xfor_unit_test.cc b/src/tests/xfor_unit_test.cc index 75de91b..fa45cf3 100644 --- a/src/tests/xfor_unit_test.cc +++ b/src/tests/xfor_unit_test.cc @@ -110,19 +110,19 @@ namespace auto dp4 = dp1 * dp01; auto dp5 = dp2 * dp02; - EXPECT_EQ(dp01.size(), 1); - EXPECT_EQ(dp02.size(), 1); + EXPECT_EQ(dp01.size(), 1u); + EXPECT_EQ(dp02.size(), 1u); EXPECT_EQ(dp01.val(), mS2p.val()); EXPECT_EQ(dp02.val(), mUp1.val()); - EXPECT_EQ(dp1.size(), 2); - EXPECT_EQ(dp2.size(), 2); + EXPECT_EQ(dp1.size(), 2u); + EXPECT_EQ(dp2.size(), 2u); - EXPECT_EQ(dp3a.size(), 2); - EXPECT_EQ(dp3b.size(), 2); - EXPECT_EQ(dp4.size(), 2); - EXPECT_EQ(dp5.size(), 2); + EXPECT_EQ(dp3a.size(), 2u); + EXPECT_EQ(dp3b.size(), 2u); + EXPECT_EQ(dp4.size(), 2u); + EXPECT_EQ(dp5.size(), 2u); EXPECT_EQ(dp1.val(), mS2p.val()); EXPECT_EQ(dp1.next().val(), mUp1.val());