Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/JavaScript
/ Abbreviation.test.js
File
Abbreviation.test.js
Dynamic-Programming/tests/Abbreviation.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ isAbbreviation } from
'../Abbreviation.js'
2
3
const
expectPositive = (word, abbr) =>
4
expect(isAbbreviation(word, abbr)).toBe(true)
Callers
nothing calls this directly
Calls
2
expectPositive
Function · 0.85
expectNegative
Function · 0.85
Tested by
no test coverage detected