Skip to content

Commit

Permalink
fix: change empty dictionary to set
Browse files Browse the repository at this point in the history
  • Loading branch information
Raine-Yang-UofT committed Nov 28, 2024
1 parent bcdcfb0 commit 7311f16
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_cfg/test_z3_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def func(x: int, y: int) -> None:
expected_while_true_path = [
{x > 5, y > 10},
{x > 5, y > 10, x + y > 15},
{},
set(),
]
expected_while_false_path = [
{x > 5, y > 10},
Expand Down Expand Up @@ -346,7 +346,7 @@ def func(x: int, y: int) -> None:
{x > 10, y > 10},
{x > 10, y > 10, x > 0},
{x > 10, y > 10, x > 0, y > 5},
{},
set(),
]
expected_outer_while_path = [
{x > 10, y > 10},
Expand Down Expand Up @@ -484,7 +484,7 @@ def func(x: int, y: int) -> None:
{x > 10, y > 0},
{x > 10, y > 0, x > 0},
{x > 10, y > 0, x > 0, z3.Not(x < y)},
{},
set(),
]
expected_other_path = [
{x > 10, y > 0},
Expand Down Expand Up @@ -591,8 +591,8 @@ def func(x: float) -> None:
expected_if_path = [
{z3.Or(x == 1.0, x == 2.0, x == 3.0)},
{z3.Or(x == 1.0, x == 2.0, x == 3.0), x < 5},
{},
{},
set(),
set(),
]
expected_else_path = [
{z3.Or(x == 1.0, x == 2.0, x == 3.0)},
Expand Down

0 comments on commit 7311f16

Please sign in to comment.