add range
This commit is contained in:
parent
e75d8048fe
commit
0e5dc4f368
2 changed files with 15 additions and 0 deletions
|
|
@ -538,4 +538,12 @@ describe('Pattern', function() {
|
|||
)
|
||||
})
|
||||
})
|
||||
describe("range", () => {
|
||||
it("Can change the range of a unipolar pattern", () => {
|
||||
assert.deepStrictEqual(
|
||||
sequence(0,0.25,0.5,0.75).range(1000,1100).firstCycle(),
|
||||
sequence(1000,1025,1050,1075).firstCycle()
|
||||
)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue