failed attempt at getting better test of fast()
This commit is contained in:
parent
e98e8ea13f
commit
de7b67f085
1 changed files with 2 additions and 0 deletions
|
|
@ -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 () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue