fixes wrong expectation

This commit is contained in:
Eyck Jentzsch 2024-04-04 22:41:37 +02:00
parent d7ce4b9a8e
commit 90002786a4

View File

@ -29,12 +29,12 @@ TEST_CASE("simple cci_param_restricted test", "[SCC][cci_param_restricted]") {
auto& dut = factory::get<top>();
auto run1 = sc_spawn([&dut]() {
wait(1_ns);
sc_core::wait(1_ns);
sc_core::sc_stop();
});
sc_start(10_ns);
REQUIRE(run1.terminated());
REQUIRE(sc_report_handler::get_count(SC_ERROR) == 0);
REQUIRE(sc_report_handler::get_count(SC_WARNING) == 1);
REQUIRE(sc_report_handler::get_count(SC_WARNING) == 0);
}