Skip to content
Snippets Groups Projects
Commit 8bc1ae7b authored by Sullivan, Brendan T's avatar Sullivan, Brendan T
Browse files

Re #24314 fix unit test, add release note

parent d278d6d4
No related branches found
No related tags found
No related merge requests found
......@@ -239,9 +239,9 @@ public:
void test_samplePos() {
Peak p(inst, 10000, 2.0);
p.setSamplePos(1.0,1.0,1.0);
TS_ASSERT_EQUALS(p.getHKL(), V3D(1.0, 1.0, 1.0));
TS_ASSERT_EQUALS(p.getSamplePos(), V3D(1.0, 1.0, 1.0));
p.setSamplePos(V3D(2.0,2.0,2.0));
TS_ASSERT_EQUALS(p.getHKL(), V3D(2.0, 2.0, 2.0));
TS_ASSERT_EQUALS(p.getSamplePos(), V3D(2.0, 2.0, 2.0));
}
void test_getBank_and_row() {
......
......@@ -49,6 +49,8 @@ Bugfixes
- :ref:`FindPeaksMD <algm-FindPeaksMD>` now finds peaks correctly with the crystallography convention setting and reduction with crystallography convention is tested with a system test.
- :ref:`SaveIsawPeaks <algm-SaveIsawPeaks>` does not have duplicate peak numbers when saving PeaksWorkspaces with more than one RunNumber.
- :ref:`OptimizeCrystalPlacement <algm-OptimizeCrystalPlacement>` now updates the sample location used by peaks. Previously, the sample was effectively left unmoved.
Powder Diffraction
------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment