patternify jux, add juxBy
This commit is contained in:
parent
e199564415
commit
7c10d171f6
2 changed files with 16 additions and 1 deletions
|
|
@ -491,6 +491,14 @@ describe('Pattern', function() {
|
|||
)
|
||||
})
|
||||
})
|
||||
describe("juxBy", () => {
|
||||
it("Can juxtapose by half", () => {
|
||||
assert.deepStrictEqual(
|
||||
pure({a: 1}).juxBy(0.5, fast(2))._sortEventsByPart().firstCycle(),
|
||||
stack(pure({a:1, pan: 0.25}), pure({a:1, pan: 0.75}).fast(2))._sortEventsByPart().firstCycle()
|
||||
)
|
||||
})
|
||||
})
|
||||
describe("_squeezeJoin", () => {
|
||||
it("Can squeeze", () => {
|
||||
assert.deepStrictEqual(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue