Skip to content
Snippets Groups Projects
Commit fa951356 authored by Anton Piccardo-Selg's avatar Anton Piccardo-Selg
Browse files

Refs #13872 Fix unit test for dimension builder

parent 83b8a667
No related branches found
No related tags found
No related merge requests found
...@@ -81,7 +81,7 @@ public: ...@@ -81,7 +81,7 @@ public:
TS_ASSERT_EQUALS(2, product->getMaximum()); TS_ASSERT_EQUALS(2, product->getMaximum());
TS_ASSERT_EQUALS(1, product->getNBins()); TS_ASSERT_EQUALS(1, product->getNBins());
TSM_ASSERT_EQUALS("Should have selected GeneralFrame as the frame", TSM_ASSERT_EQUALS("Should have selected GeneralFrame as the frame",
Mantid::Geometry::GeneralFrame::GeneralFrameName, "testDimName",
product->getMDFrame().name()); product->getMDFrame().name());
} }
......
...@@ -303,8 +303,7 @@ public: ...@@ -303,8 +303,7 @@ public:
auto dimension = outWs->getDimension(dim); auto dimension = outWs->getDimension(dim);
const auto &frame = dimension->getMDFrame(); const auto &frame = dimension->getMDFrame();
TSM_ASSERT_EQUALS("Should be convertible to a QSample frame", TSM_ASSERT_EQUALS("Should be convertible to a QSample frame",
Mantid::Geometry::QSample::QSampleName, Mantid::Geometry::QSample::QSampleName, frame.name());
frame.name());
TSM_ASSERT("Should not be set to U any longer", TSM_ASSERT("Should not be set to U any longer",
"U" != dimension->getUnits().ascii()); "U" != dimension->getUnits().ascii());
} }
......
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