mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 13:11:36 +00:00
test: use comparison assertions that print both values
- EXPECT_EQ/EXPECT_NE instead of EXPECT_TRUE(a == b) in the parts, memory resource and plugin manager tests; split the && checks - ASSERT_NE on the message pointer before it is dereferenced - ASSERT_TRUE/ASSERT_FALSE instead of ASSERT_EQ(x, true/false) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -74,8 +74,8 @@ TEST_F(MultipleDevices, TwoInSameProcess)
|
||||
bool first = fut1.get();
|
||||
bool second = fut2.get();
|
||||
|
||||
ASSERT_EQ(first, true);
|
||||
ASSERT_EQ(second, true);
|
||||
ASSERT_TRUE(first);
|
||||
ASSERT_TRUE(second);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user