log + drawLine

This commit is contained in:
Felix Roos 2022-04-23 23:28:43 +02:00
parent e747c0b060
commit 9e2e5ce581
6 changed files with 70 additions and 3 deletions

View file

@ -0,0 +1,9 @@
import Fraction, { gcd } from '../fraction.mjs';
import { strict as assert } from 'assert';
describe('gcd', () => {
it('should work', () => {
const F = Fraction._original;
assert.equal(gcd(F(1 / 6), F(1 / 4)).toFraction(), '1/12');
});
});