From 80ae35e310456bd6a1b0984daa7c8df46884b73e Mon Sep 17 00:00:00 2001 From: Maximilian Reininghaus <maximilian.reininghaus@kit.edu> Date: Tue, 12 Feb 2019 15:17:34 +0100 Subject: [PATCH] fixed testGeometry --- Framework/Geometry/testGeometry.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Framework/Geometry/testGeometry.cc b/Framework/Geometry/testGeometry.cc index 7cb8df0c8..d73ae99b2 100644 --- a/Framework/Geometry/testGeometry.cc +++ b/Framework/Geometry/testGeometry.cc @@ -178,7 +178,7 @@ TEST_CASE("Trajectories") { CHECK(base.ArcLength(1_s, 2_s) / 1_m == Approx(3)); - CHECK((base.NormalizedDirection().GetComponents(rootCS) - QuantityVector<dimensionless_d>{0, 0, 0}).eVector.norm() == Approx(0).margin(absMargin)); + CHECK((base.NormalizedDirection().GetComponents(rootCS) - QuantityVector<dimensionless_d>{1, 0, 0}).eVector.norm() == Approx(0).margin(absMargin)); } SECTION("Helix") { -- GitLab