Skip to content

Commit

Permalink
Add pytest for ConfigSet + operator
Browse files Browse the repository at this point in the history
  • Loading branch information
bernstei committed Oct 3, 2024
1 parent 9bb5dc2 commit b2735e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_configset.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ def test_from_mult_ConfigSets(tmp_path, ats):
locs = [f" / {i0} / {i1}" for i0 in range(3) for i1 in range(3)]
check_ConfigSet(ConfigSet([cs_01, cs_2]), locs, gather_numbers([ats_i_0, ats_i_1, ats_i_2]))

# same check for overloaded + operator
check_ConfigSet(cs_01 + cs_2, locs, gather_numbers([ats_i_0, ats_i_1, ats_i_2]))

def test_from_ConfigSets_mixed_0(tmp_path, ats):
ats_i_0 = ats[0:3]
ats_i_1 = ats[3:6]
Expand Down

0 comments on commit b2735e1

Please sign in to comment.