Unit tests
import assert from 'assert'; import { factorial } from './implementation'; // Example assert.equal(factorial(3), 6);