Skip to content

Commit

Permalink
tests: Fix up symbolics tests
Browse files Browse the repository at this point in the history
  • Loading branch information
EdCaunt committed Oct 18, 2024
1 parent 8d80b2c commit 2eb5b0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_symbolics.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,15 @@ def test_subdimension():

di = SubDimension.middle(name='di', parent=d, thickness_left=4, thickness_right=4)
assert di.free_symbols == {di}
assert di.bound_symbols == {d.symbolic_min, d.symbolic_max} | set(di._thickness_map)
assert di.bound_symbols == {d.symbolic_min, d.symbolic_max} | set(di.thickness)

dl = SubDimension.left(name='dl', parent=d, thickness=4)
assert dl.free_symbols == {dl}
assert dl.bound_symbols == {d.symbolic_min, dl.thickness.left[0]}
assert dl.bound_symbols == {d.symbolic_min, dl.thickness.left}

dr = SubDimension.right(name='dr', parent=d, thickness=4)
assert dr.free_symbols == {dr}
assert dr.bound_symbols == {d.symbolic_max, dr.thickness.right[0]}
assert dr.bound_symbols == {d.symbolic_max, dr.thickness.right}


def test_timefunction():
Expand Down

0 comments on commit 2eb5b0a

Please sign in to comment.