Skip to content

Instantly share code, notes, and snippets.

Created October 12, 2012 08:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/3878152 to your computer and use it in GitHub Desktop.
Save anonymous/3878152 to your computer and use it in GitHub Desktop.
(println (= 1 (levenshtein-distance "foobar" "fobar"))) ; true
(fact
(levenshtein-distance "foobar" "fobar") => 1
)
;FAIL in (a-test) (core_test.clj:7)
;FIXME, I fail.
;expected: (= 0 1)
;actual: (not (= 0 1))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment