update tests to compile fine and also regolden to show uncertain string

Signed-off-by: dsengupta0628 <[email protected]>
This commit is contained in:
dsengupta0628
2026-04-27 22:10:15 +00:00
parent ae37dc6238
commit d1c8750850
7 changed files with 21 additions and 17 deletions
+6 -2
View File
@@ -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