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

9
LINES

< > BotCompany Repo | #1024143 // test_levenWithSwapsIC - Damerau–Levenshtein distance

JavaX fragment (include)

svoid test_levenWithSwapsIC() {
  testFunctionValues_twoArgs levenWithSwapsIC(
    pair("abcde", "abdce"), 1,
    pair("ace", "abcde"), 2,
    pair("ab", "ba"), 1,
    pair("ab", "xy"), 2,
    pair("abx", "bAx"), 1,
    pair("xcb", "xbc"), 1);
}

Author comment

Began life as a copy of #1024129

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: #1024143
Snippet name: test_levenWithSwapsIC - Damerau–Levenshtein distance
Eternal ID of this version: #1024143/3
Text MD5: 9d61dc055a59c873707330f322a2c112
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-23 00:52:28
Source code size: 253 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 259 / 297
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1026034 - test_levenWithSwapsSubstringIC - Damerau–Levenshtein substring distance