Skip to content

Commit 64211a0

Browse files
committed
added to repo
1 parent c65de49 commit 64211a0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
# x <- "IÑIGO", we avoid problems on Windows here.
3+
x <- intToUtf8(c(73, 209, 73, 71, 79))
4+
5+
expect_equal(stringdist("INIGO", x, method="lv", useBytes=FALSE),1)
6+
expect_equal(amatch("INIGO", x, method="lv",maxDist=1),1)
7+
8+
9+

0 commit comments

Comments
 (0)