mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-09-01 10:27:10 +02:00
update tests to compile fine and also regolden to show uncertain string
Signed-off-by: dsengupta0628 <[email protected]>
This commit is contained in:
@@ -937,8 +937,12 @@ TEST_F(SdcInitTest, ClockUncertaintiesAccessor) {
|
||||
*waveform, "");
|
||||
ASSERT_NE(clk, nullptr);
|
||||
// A freshly created clock has no uncertainties set yet
|
||||
ClockUncertainties *unc = clk->uncertainties();
|
||||
EXPECT_EQ(unc, nullptr);
|
||||
float unc;
|
||||
bool exists;
|
||||
clk->uncertainty(SetupHold::min(), unc, exists);
|
||||
EXPECT_FALSE(exists);
|
||||
clk->uncertainty(SetupHold::max(), unc, exists);
|
||||
EXPECT_FALSE(exists);
|
||||
}
|
||||
|
||||
// Clock setUncertainty and removeUncertainty
|
||||
|
||||
Reference in New Issue
Block a user