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

Refs #13872 Fix unit test for DimensionBuilder

parent 34b7a9fa
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,8 @@ public:
TS_ASSERT_THROWS_NOTHING(product = builder.create());
TS_ASSERT_EQUALS("testDimName", product->getName());
TS_ASSERT_EQUALS("testDimId", product->getDimensionId());
TS_ASSERT_EQUALS("A^-1", product->getUnits().ascii());
Mantid::Kernel::InverseAngstromsUnit expectedUnit;
TS_ASSERT_EQUALS(expectedUnit.getUnitLabel(), product->getUnits().ascii());
TS_ASSERT_EQUALS(0, product->getMinimum());
TS_ASSERT_EQUALS(2, product->getMaximum());
TS_ASSERT_EQUALS(1, product->getNBins());
......
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