Skip to content

Commit

Permalink
Refs #10973 Enable unit tests for box splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonPiccardoSelg committed Mar 3, 2015
1 parent 588f3ed commit f2e8234
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Code/Mantid/Framework/MDAlgorithms/src/ConvertToMD.cpp
Expand Up @@ -500,7 +500,6 @@ API::IMDEventWorkspace_sptr ConvertToMD::createNewMDWorkspace(
*/
void ConvertToMD::performInitialSplitting(API::IMDEventWorkspace_sptr spws, Mantid::API::BoxController_sptr bc)
{

const size_t initialSplitSetting = 50;
const size_t dimCutoff = 3;

Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/MDAlgorithms/test/ConvertToMDTest.h
Expand Up @@ -189,7 +189,7 @@ void testInitialSplittingEnabled()
TS_ASSERT_THROWS_NOTHING(pAlg->setPropertyValue("dEAnalysisMode", "Direct"));
pAlg->setPropertyValue("MinValues","-10,-10,-10, 0,-10,-10");
pAlg->setPropertyValue("MaxValues"," 10, 10, 10, 20, 40, 20");
TS_ASSERT_THROWS_NOTHING(pAlg->setPropertyValue("InitialSplitting", "0"));
TS_ASSERT_THROWS_NOTHING(pAlg->setPropertyValue("InitialSplitting", "1"));
pAlg->setRethrows(false);
pAlg->execute();
TSM_ASSERT("Should finish successfully",pAlg->isExecuted());
Expand Down

0 comments on commit f2e8234

Please sign in to comment.