mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-08-29 17:28:57 +02:00
test: add explicit assertions to all cpp test cases
Signed-off-by: Jaehyun Kim <[email protected]>
This commit is contained in:
@@ -405,10 +405,13 @@ TEST(EdgeStandaloneTest, ObjectIdx)
|
||||
|
||||
TEST(EdgeStandaloneTest, SetIsDisabledConstraint)
|
||||
{
|
||||
ASSERT_NO_THROW(( [&](){
|
||||
Edge e;
|
||||
e.setIsDisabledConstraint(true);
|
||||
// Can only fully test when arc_set is set; test the setter at least
|
||||
e.setIsDisabledConstraint(false);
|
||||
|
||||
}() ));
|
||||
}
|
||||
|
||||
TEST(EdgeStandaloneTest, RemoveDelayAnnotated)
|
||||
|
||||
Reference in New Issue
Block a user