Commit 54ed2187 authored by Mathieu Tillet's avatar Mathieu Tillet
Browse files

Fix failing test

parent 3346a46d
......@@ -516,11 +516,12 @@ public:
TS_ASSERT_EQUALS(outputWS->getNumberHistograms(),
NUMBER_OF_TUBES + NUMBER_OF_MONITORS)
TS_ASSERT(!detInfo.isMonitor({0, 0}))
auto firstTube = detInfo.position({0, 0});
TS_ASSERT_DELTA(firstTube.angle(V3D(0, 0, -1)) * RAD_2_DEG, 0.0, 1e-6)
TS_ASSERT(!detInfo.isMonitor({1, 0}))
auto firstTube = detInfo.position({1, 0});
TS_ASSERT_DELTA(firstTube.angle(V3D(0, 0, 1)) * RAD_2_DEG, 0.85, 1e-6)
TS_ASSERT_EQUALS(outputWS->y(13)[0], 1394)
checkTimeFormat(outputWS);
}
private:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment