mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-13 06:19:33 -04:00
failed attempt at getting better test of fast()
This commit is contained in:
@@ -92,6 +92,8 @@ describe('Pattern', function() {
|
||||
})
|
||||
it('Makes things faster, with a pattern of factors', function () {
|
||||
assert.equal(pure("a").fast(sequence(1,4)).firstCycle.length, 3)
|
||||
// not working..
|
||||
// assert.deepStrictEqual(pure("a").fast(sequence(1,4)).firstCycle, sequence("a",sequence("a","a")).firstCycle)
|
||||
})
|
||||
})
|
||||
describe('_slow()', function () {
|
||||
|
||||
Reference in New Issue
Block a user