add xen package
This commit is contained in:
parent
9458faf5b0
commit
e1bb58fb06
6 changed files with 46 additions and 671 deletions
8
packages/xen/test/xen.test.mjs
Normal file
8
packages/xen/test/xen.test.mjs
Normal 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)]);
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue