chore: Add clang-tidy 19 checks (#1774)

Fix #1664
This commit is contained in:
Alex Kremer
2024-12-09 16:27:53 +00:00
committed by GitHub
parent a7074dbf0f
commit 475e309f25
87 changed files with 3135 additions and 2711 deletions

View File

@@ -139,7 +139,7 @@ TEST_F(CounterIntTests, multithreadAdd)
});
thread1.join();
thread2.join();
EXPECT_EQ(counter.value(), numAdditions + numNumberAdditions * numberToAdd);
EXPECT_EQ(counter.value(), numAdditions + (numNumberAdditions * numberToAdd));
}
struct CounterDoubleTests : ::testing::Test {
@@ -178,5 +178,5 @@ TEST_F(CounterDoubleTests, multithreadAdd)
});
thread1.join();
thread2.join();
EXPECT_NEAR(counter.value(), numAdditions + numNumberAdditions * numberToAdd, 1e-9);
EXPECT_NEAR(counter.value(), numAdditions + (numNumberAdditions * numberToAdd), 1e-9);
}