start packaging

This commit is contained in:
Felix Roos 2022-03-25 14:39:25 +01:00
parent a19d789145
commit 6f60a3a1d5
98 changed files with 11162 additions and 11122 deletions

View 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']);
});
});