Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1026034 // test_levenWithSwapsSubstringIC - Damerau–Levenshtein substring distance

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2270L/15K).

svoid test_levenWithSwapsSubstringIC() {
  testFunctionValues_twoArgs levenWithSwapsSubstringIC(
    pair("xabcdeyy", "abdce"), 1,
    pair("eeeacexyz", "abcde"), 2,
    pair("pppppab", "ba"), 1,
    pair("ppab", "xy"), 2,
    pair("aabx", "bAx"), 1,
    pair("lxcb", "xbc"), 1);
}

Author comment

Began life as a copy of #1024143

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1026034
Snippet name: test_levenWithSwapsSubstringIC - Damerau–Levenshtein substring distance
Eternal ID of this version: #1026034/3
Text MD5: c2a0196a447a8567efd9c8b4977bb0d8
Transpilation MD5: 4ee0547007cd8619cae3047da07be752
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-11-11 15:04:37
Source code size: 289 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 221 / 286
Version history: 2 change(s)
Referenced in: [show references]