Skip to content

Commit b531c31

Browse files
committed
TST : test commutativity of cycler addition
1 parent bc8abd1 commit b531c31

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test_cycler.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@ def test_compose():
3737
# addition
3838
yield _cycler_helper, c1+c2, 3, ['c', 'lw'], [list('rgb'), range(3)]
3939
yield _cycler_helper, c2+c1, 3, ['c', 'lw'], [list('rgb'), range(3)]
40+
yield _cycles_equal, c2+c1, c1+c2
4041
# miss-matched add lengths
4142
yield _cycler_helper, c1+c3, 3, ['c', 'lw'], [list('rgb'), range(3)]
4243
yield _cycler_helper, c3+c1, 3, ['c', 'lw'], [list('rgb'), range(3)]
44+
yield _cycles_equal, c3+c1, c1+c3
4345

4446
# multiplication
4547
target = zip(*product(list('rgb'), range(3)))

0 commit comments

Comments
 (0)