MCPcopy Create free account
hub / github.com/TheAlgorithms/TypeScript / factorial.test.ts

File factorial.test.ts

maths/test/factorial.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { factorial } from '../factorial'
2
3describe('factorial', () => {
4 test.each([-0.1, -1, -2, -42, 0.01, 0.42, 0.5, 1.337])(

Callers

nothing calls this directly

Calls 2

factorialFunction · 0.90
testFunction · 0.85

Tested by

no test coverage detected