2015-10-22 18:12:44 +02:00
|
|
|
using StringDistances
|
|
|
|
|
2015-11-04 18:40:30 +01: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)")
|
|
|
|
showerror(STDOUT, e, backtrace())
|
|
|
|
rethrow(e)
|
|
|
|
end
|
|
|
|
end
|