Provide all missing cos_sim variants
Change-Id: I86bc78e7e3fc031a94568d4f5e7f0a2f91a59dac
diff --git a/test/runtests.jl b/test/runtests.jl
index c2834ad..7dfe844 100644
--- a/test/runtests.jl
+++ b/test/runtests.jl
@@ -17,6 +17,9 @@
@test cos_sim(wpd19, "wurden", "war") == cos_sim(wpd19, "war", "wurden")
@test cos_sim(wpd19, "wurde", "wurden") > cos_sim(wpd19, "wurde", "ich")
@test cos_sim(wpd19, "wurden", "war") == cos_sim(wpd19, wpd19, "war", "wurden")
+ @test isapprox(cos_sim(wpd19, wpd19, "war"), 1)
+ @test isapprox(cos_sim(wpd19, wpd19, 50), 1)
+ @test isapprox(cos_sim(wpd19, 50, 50), 1)
end
@testset "DerekoVecs.jl: knn" begin