feat: remove twinPrime (#1641)

* tests: add missing test of `twinPrime`

* feat: remove `twinPrime`
This commit is contained in:
Piotr Idzik
2024-03-11 21:26:29 +01:00
committed by GitHub
parent 4a4ed57d42
commit 0204198465
2 changed files with 0 additions and 39 deletions

View File

@@ -1,10 +0,0 @@
import { twinPrime } from '../TwinPrime.js'
describe('Twin Primes', () => {
it('Should be valid twin primes', () => {
expect(twinPrime(3)).toBe(5)
expect(twinPrime(5)).toBe(7)
expect(twinPrime(4)).toBe(-1)
expect(twinPrime(17)).toBe(19)
})
})