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