Skip to content

Commit

Permalink
Fix IntDomainTest after refine_with_excl_list change
Browse files Browse the repository at this point in the history
  • Loading branch information
sim642 committed Mar 14, 2022
1 parent 28b29ca commit e9ecc0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unittest/cdomains/intDomainTest.ml
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ let test_meet _ =
assert_equal ~printer:T.show tone (T.meet tex0 tone )

let test_ex_set _ =
assert_equal (Some [zero; one]) (T.to_excl_list tex10);
assert_equal (Some [zero; one]) (T.to_excl_list tex01);
assert_equal (Some [zero; one]) (T.to_excl_list tex10 |> Option.map fst);
assert_equal (Some [zero; one]) (T.to_excl_list tex01 |> Option.map fst);
assert_bool "Not [1;0] is not excl set" (T.is_excl_list tex10);
assert_bool "bot is excl set" (not (T.is_excl_list tbot));
assert_bool "42 is excl set" (not (T.is_excl_list t42));
Expand Down

0 comments on commit e9ecc0d

Please sign in to comment.