UNPKG

distinctiomagnam

Version:
6 lines (4 loc) 159 B
import { getFactors } from "../../src/util/math"; it("getFactors() should return correct factors", () => { expect(getFactors(6)).toEqual([1, 6, 2, 3]); });