summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-10-11 11:54:11 +0200
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2017-10-11 12:19:35 +0200
commita69da86f649a99f23455dbe9eafcea8e1719e35b (patch)
tree2af78a7624ba8559d30e67b24ccf2aa129311b2d /tests
parentf87ca86a994cdc3205a294e9bbbeddde312ea53b (diff)
downloadastra-a69da86f649a99f23455dbe9eafcea8e1719e35b.tar.gz
astra-a69da86f649a99f23455dbe9eafcea8e1719e35b.tar.bz2
astra-a69da86f649a99f23455dbe9eafcea8e1719e35b.tar.xz
astra-a69da86f649a99f23455dbe9eafcea8e1719e35b.zip
Document constant in test
Diffstat (limited to 'tests')
-rw-r--r--tests/test_ParallelBeamLineKernelProjector2D.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ParallelBeamLineKernelProjector2D.cpp b/tests/test_ParallelBeamLineKernelProjector2D.cpp
index 58d511e..575799c 100644
--- a/tests/test_ParallelBeamLineKernelProjector2D.cpp
+++ b/tests/test_ParallelBeamLineKernelProjector2D.cpp
@@ -74,7 +74,7 @@ BOOST_FIXTURE_TEST_CASE( testParallelBeamLineKernelProjector2D_Rectangle, TestPa
for (int i = 0; i < iCount; ++i)
fWeight += pPix[i].m_fWeight;
- BOOST_CHECK_SMALL(fWeight - 7.13037f, 0.00001f);
+ BOOST_CHECK_SMALL(fWeight - 7.13037f, 0.00001f); // 6 / sin(1)
delete[] pPix;
}