MCPcopy 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

1import { levenshteinDistance } from '../LevenshteinDistance'
2
3describe('levenshteinDistance', () => {
4 it('should calculate edit distance between two strings', () => {

Callers

nothing calls this directly

Calls 1

levenshteinDistanceFunction · 0.90

Tested by

no test coverage detected