Commit 3b25f931 authored by Hahn, Steven's avatar Hahn, Steven
Browse files

MDGeometryXMLParser doesn't inherit from MDGeometry



Signed-off-by: Hahn, Steven's avatarSteven Hahn <hahnse@ornl.gov>
parent db4fcafa
......@@ -440,8 +440,8 @@ public:
new MDHistoDimension("T", "t", frame, -10, 10, 10));
MDHistoWorkspace ws(dimX, dimY, dimZ, dimT);
TS_ASSERT_EQUALS("Only 3 of the 4 dimensions should be non-integrated",
ws.getNumNonIntegratedDims(), 3)
TSM_ASSERT_EQUALS("Only 3 of the 4 dimensions should be non-integrated",
ws.getNumNonIntegratedDims(), 3);
Mantid::Geometry::VecIMDDimension_const_sptr vecNonIntegratedDims =
ws.getNonIntegratedDimensions();
TSM_ASSERT_EQUALS("Only 3 of the 4 dimensions should be non-integrated", 3,
......
......@@ -245,8 +245,6 @@ public:
// 2 of the 5 dimensions have been setup to be integrated => nbins==1.
MDGeometryXMLParser xmlParser(constructXML("qy", "qx", "en", "qz"));
xmlParser.execute();
TSM_ASSERT_EQUALS("Returned wrong number of non integrated dimensions", 3,
xmlParser.getNumNonIntegratedDims());
TSM_ASSERT_EQUALS("Returned wrong number of non integrated dimensions", 3,
xmlParser.getNonIntegratedDimensions().size());
}
......
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