Skip to content

Commit 711f370

Browse files
authored
Merge pull request #148 from mexxexx/fix/147_test_allc
Fixed issue #147
2 parents 8d244b9 + 952329d commit 711f370

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_chains.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,9 @@ def test_allc(Value, IR, IL):
3333
]
3434
C_left = np.array([2, 4, 6, 8, 10], dtype=np.int64)
3535
S_right, C_right = allc(IL, IR)
36+
37+
S_left = sorted(S_left, key=lambda x: (len(x), list(x)))
38+
S_right = sorted(S_right, key=lambda x: (len(x), list(x)))
39+
3640
npt.assert_equal(S_left, S_right)
3741
npt.assert_equal(C_left, C_right)

0 commit comments

Comments
 (0)