test all in source examples

This commit is contained in:
Felix Roos 2022-11-03 14:47:27 +01:00
parent 1a6743dba9
commit e9544f8f92
6 changed files with 3224 additions and 3 deletions

View file

@ -21,6 +21,7 @@ import Fraction, { gcd } from './fraction.mjs';
* @example
* const line = drawLine("0 [1 2 3]", 10); // |0--123|0--123
* console.log(line);
* silence;
*/
function drawLine(pat, chars = 60) {
let cycle = 0;