add xen package

This commit is contained in:
Felix Roos 2022-03-25 22:39:03 +01:00
parent 9458faf5b0
commit e1bb58fb06
6 changed files with 46 additions and 671 deletions

View file

@ -0,0 +1,8 @@
import { strict as assert } from 'assert';
import { edo } from '../xen.mjs';
describe('xen', () => {
it('edo', () => {
assert.deepStrictEqual(edo('3edo'), [1, Math.pow(2, 1 / 3), Math.pow(2, 2 / 3)]);
});
});