start packaging
This commit is contained in:
parent
a19d789145
commit
6f60a3a1d5
98 changed files with 11162 additions and 11122 deletions
12
packages/tone/test/tone.test.mjs
Normal file
12
packages/tone/test/tone.test.mjs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { strict as assert } from 'assert';
|
||||
import '../tone.mjs';
|
||||
import { pure } from '../../core/strudel.mjs';
|
||||
import Tone from 'tone';
|
||||
|
||||
describe('tone', () => {
|
||||
it('Should have working tone function', () => {
|
||||
const s = synth().chain(out());
|
||||
assert.deepStrictEqual(s, new Tone.Synth().chain(out()));
|
||||
assert.deepStrictEqual(pure('c3').tone(s)._firstCycleValues, ['c3']);
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue