6 lines
180 B
Python
6 lines
180 B
Python
from euclidean import euclidean_rythm
|
|
|
|
def test_euclidean_rythm():
|
|
assert euclidean_rythm(k=3, n=12) == 'X...X...X...'
|
|
assert euclidean_rythm(k=5, n=13) == 'X..X.X..X.X..'
|