2015-10-22 18:12:44 +02:00
|
|
|
using StringDistances
|
|
|
|
|
2019-08-18 19:13:04 +02:00
|
|
|
tests = ["distances.jl", "modifiers.jl"]
|
2015-10-22 18:12:44 +02:00
|
|
|
|
|
|
|
println("Running tests:")
|
|
|
|
|
|
|
|
for test in tests
|
|
|
|
try
|
|
|
|
include(test)
|
|
|
|
println("\t\033[1m\033[32mPASSED\033[0m: $(test)")
|
|
|
|
catch e
|
|
|
|
println("\t\033[1m\033[31mFAILED\033[0m: $(test)")
|
2018-07-04 18:07:26 +02:00
|
|
|
showerror(stdout, e, backtrace())
|
2015-10-22 18:12:44 +02:00
|
|
|
rethrow(e)
|
|
|
|
end
|
|
|
|
end
|