mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-26 21:18:49 +00:00
Merge branch 'main' of https://github.com/tidalcycles/strudel
This commit is contained in:
commit
b497967647
@ -178,6 +178,12 @@ describe('Pattern', function() {
|
|||||||
it('Never faster', function () {
|
it('Never faster', function () {
|
||||||
assert.equal(pure("a").when(pure(false), x => x._fast(2)).firstCycle.length, 1)
|
assert.equal(pure("a").when(pure(false), x => x._fast(2)).firstCycle.length, 1)
|
||||||
})
|
})
|
||||||
|
it('Can alternate', function () {
|
||||||
|
assert.deepStrictEqual(
|
||||||
|
pure(10).when(slowcat(true,false),add(3)).fast(4)._sortEventsByPart().firstCycle,
|
||||||
|
fastcat(13,10,13,10).firstCycle
|
||||||
|
)
|
||||||
|
})
|
||||||
})
|
})
|
||||||
describe('fastcat()', function () {
|
describe('fastcat()', function () {
|
||||||
it('Can concatenate two things', function () {
|
it('Can concatenate two things', function () {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user