failed attempt at getting better test of fast()

This commit is contained in:
alex 2022-02-06 23:23:43 +00:00
parent e98e8ea13f
commit de7b67f085

View File

@ -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 () {