Skip to content

Commit d8fa253

Browse files
author
martin
committed
Update unit test for the bug fix to abstract_environmentt
In a previous commit I fixed a bug where the default state of a constructed abstract_environment was top rather than bottom. Correcting this meant this unit test fails as the environment will only return objects which are bottom. Also improve the tagging of the test.
1 parent c82ca1d commit d8fa253

File tree

1 file changed

+4
-1
lines changed
  • unit/analyses/variable-sensitivity

1 file changed

+4
-1
lines changed

unit/analyses/variable-sensitivity/eval.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,16 @@ static symbolt simple_symbol(const irep_idt &identifier, const typet &type)
1515
return b1;
1616
}
1717

18-
SCENARIO("eval", "[core]")
18+
SCENARIO(
19+
"eval",
20+
"[core][analyses][variable-sensitivity][interval_abstract_value]")
1921
{
2022
GIVEN("An environment with intervals domain")
2123
{
2224
variable_sensitivity_object_factoryt::instance().set_options(
2325
vsd_configt::intervals());
2426
abstract_environmentt environment;
27+
environment.make_top(); // Domains are bottom on construction
2528

2629
symbol_tablet symbol_table;
2730
namespacet ns{symbol_table};

0 commit comments

Comments
 (0)