Merge branch 'main' into uzu
This commit is contained in:
commit
67bfedb317
20 changed files with 351 additions and 117 deletions
|
|
@ -52,6 +52,7 @@ import {
|
|||
stackCentre,
|
||||
stepcat,
|
||||
sometimes,
|
||||
expand,
|
||||
} from '../index.mjs';
|
||||
|
||||
import { steady } from '../signal.mjs';
|
||||
|
|
@ -1179,6 +1180,9 @@ describe('Pattern', () => {
|
|||
it('calculates undefined steps as the average', () => {
|
||||
expect(sameFirst(stepcat(pure(1), pure(2), pure(3).setSteps(undefined)), fastcat(1, 2, 3)));
|
||||
});
|
||||
it('works with auto-reified values', () => {
|
||||
expect(sameFirst(stepcat(expand(3, 'bd'), 'rim'), stepcat(expand(3, 'bd'), pure('rim'))));
|
||||
});
|
||||
});
|
||||
describe('shrink', () => {
|
||||
it('can shrink', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue