tupdate test macro - Granular.jl - Julia package for granular dynamics simulati… | |
git clone git://src.adamsgaard.dk/Granular.jl | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 1e2e0cadbbc22c3205513e89e8e40f451d534157 | |
parent aa49a17a7ce969f67b58e7f4196f65a48a5f0e5c | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 20 Apr 2017 15:59:36 -0400 | |
update test macro | |
Diffstat: | |
M test/contact-search-and-geometry.jl | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/test/contact-search-and-geometry.jl b/test/contact-search-and-geom… | |
t@@ -14,8 +14,8 @@ SeaIce.addIceFloeCylindrical(sim, [18., 0.], 10., 1., verbos… | |
position_ij = SeaIce.interIceFloePositionVector(sim, 1, 2) | |
overlap_ij = SeaIce.findOverlap(sim, 1, 2, position_ij) | |
-Base.Test.@test [18., 0.] \approx position_ij | |
-Base.Test.@test -2. \approx overlap_ij | |
+Base.Test.@test_approx_eq [18., 0.] position_ij | |
+Base.Test.@test_approx_eq -2. overlap_ij | |
info("Testing findContactsAllToAll(...)") |