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

File primes.test.ts

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

Source from the content-addressed store, hash-verified

1import { isPrime, primeGenerator, sieveOfEratosthenes } from '../primes'
2
3describe(sieveOfEratosthenes, () => {
4 test.each([-1, 0, 1, 2.123, 1337.80085])(

Callers

nothing calls this directly

Calls 3

sieveOfEratosthenesFunction · 0.90
primeGeneratorFunction · 0.90
isPrimeFunction · 0.90

Tested by

no test coverage detected