Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ isPrime, primeGenerator, sieveOfEratosthenes } from
'../primes'
2
3
describe(sieveOfEratosthenes, () => {
4
test.each([-1, 0, 1, 2.123, 1337.80085])(
Callers
nothing calls this directly
Calls
3
sieveOfEratosthenes
Function · 0.90
primeGenerator
Function · 0.90
isPrime
Function · 0.90
Tested by
no test coverage detected