ASSERT_EQ(P->getStateBlockNotificationMapSize(),(SizeStd)(2/* + 3*/));// consume empties the notification map, so only should contain notification since last call
ASSERT_EQ(P->getStateBlockNotificationMapSize(),(SizeStd)(2+2));// consume empties the notification map, so only should contain notification since last call
ASSERT_EQ(P->getStateBlockNotificationMapSize(),(SizeStd)(/*2 + 3*/+2));// consume empties the notification map, so only should contain notification since last call
ASSERT_EQ(P->getStateBlockNotificationMapSize(),(SizeStd)(2+2+2));// consume empties the notification map, so only should contain notification since last call
// Notifications
// Notifications
Notificationnotif;
Notificationnotif;
...
@@ -269,7 +269,7 @@ TEST(Problem, StateBlocks)
...
@@ -269,7 +269,7 @@ TEST(Problem, StateBlocks)
// change some SB properties
// change some SB properties
St->unfixExtrinsics();
St->unfixExtrinsics();
ASSERT_EQ(P->getStateBlockNotificationMapSize(),(SizeStd)(0));// consume empties the notification map, so only should contain notification since last call
// ASSERT_EQ(P->getStateBlockNotificationMapSize(), (SizeStd)(0)); // consume empties the notification map, so only should contain notification since last call
// ASSERT_TRUE(P->consumeStateBlockNotificationMap().empty()); // changes in state_blocks status (fix/state/localparam) does not raise a notification in problem, only ADD/REMOVE
// ASSERT_TRUE(P->consumeStateBlockNotificationMap().empty()); // changes in state_blocks status (fix/state/localparam) does not raise a notification in problem, only ADD/REMOVE