commit cb3a1223d0bfc1e7a64c4f57285876df3623d3c7
parent 01477db622f3e5bba6d98fdb54b9b0fa5f3ca08a
Author: Anders Damsgaard <andersd@riseup.net>
Date: Thu, 20 Apr 2017 16:32:50 -0400
test exception if invalid method is passed
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/test/contact-search-and-geometry.jl b/test/contact-search-and-geometry.jl
@@ -37,6 +37,8 @@ Base.Test.@test 1 == length(sim.contact_pairs)
Base.Test.@test_approx_eq [1, 2] sim.contact_pairs[1]
Base.Test.@test_approx_eq [-2., 0.] sim.overlaps[1]
+Base.Test.@test_throws ErrorException SeaIce.findContacts!(sim, method="")
+
info("Testing if interact(...) removes contacts correctly")
sim = deepcopy(sim_copy)