From df6ec10d3c1b9bfe7d39d5d4f99a7604879f4e66 Mon Sep 17 00:00:00 2001 From: Sebastian Eibl <sebastian.eibl@fau.de> Date: Fri, 18 May 2018 14:51:27 +0200 Subject: [PATCH] extended HCSITS test --- tests/pe/HCSITS.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/pe/HCSITS.cpp b/tests/pe/HCSITS.cpp index 3a133974f..c5e3a2d74 100644 --- a/tests/pe/HCSITS.cpp +++ b/tests/pe/HCSITS.cpp @@ -93,6 +93,10 @@ void normalReactionTest(cr::HCSITS& cr, SphereID sp) cr.timestep( real_c( real_t(1.0) ) ); WALBERLA_CHECK_FLOAT_EQUAL( sp->getPosition() , Vec3(5,5,real_t(6.1)) ); WALBERLA_CHECK_FLOAT_EQUAL( sp->getLinearVel(), Vec3(0,0,real_t(-0.1)) ); + + cr.timestep( real_c( real_t(1.0) ) ); + WALBERLA_CHECK_FLOAT_EQUAL( sp->getPosition() , Vec3(5,5,real_t(6.1)) ); + WALBERLA_CHECK_FLOAT_EQUAL( sp->getLinearVel(), Vec3(0,0,real_t(0)) ); contactThreshold = Thresholds<real_t>::contactThreshold(); } -- GitLab