mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2026-03-13 15:21:15 +08:00
feat: remove twinPrime (#1641)
* tests: add missing test of `twinPrime` * feat: remove `twinPrime`
This commit is contained in:
@@ -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)
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user