Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/JavaScript
/ LevenshteinDistance.test.js
File
LevenshteinDistance.test.js
String/test/LevenshteinDistance.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ levenshteinDistance } from
'../LevenshteinDistance'
2
3
describe(
'levenshteinDistance'
, () => {
4
it(
'should calculate edit distance between two strings'
, () => {
Callers
nothing calls this directly
Calls
1
levenshteinDistance
Function · 0.90
Tested by
no test coverage detected