Skip to content

Commit

Permalink
refs #5016. Additional test.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed May 30, 2012
1 parent 1280ff0 commit 15e9cc8
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "MantidGeometry/Instrument/ReferenceFrame.h"
#include "MantidTestHelpers/WorkspaceCreationHelper.h"
#include "MantidMDEvents/ConvertToReflectometryQ.h"
#include "MantidAPI/IMDHistoWorkspace.h"
#include "MantidAPI/IMDEventWorkspace.h"
#include "MantidAPI/NumericAxis.h"
#include "MantidAPI/FrameworkManager.h"

Expand Down Expand Up @@ -142,7 +142,14 @@ class ConvertToReflectometryQTest : public CxxTest::TestSuite
TSM_ASSERT_THROWS("Should throw as this mode is not supported yet", alg->execute(), std::runtime_error);
}


void test_execute()
{
auto alg = make_standard_algorithm();
alg->execute();
auto ws = boost::shared_dynamic_cast<Mantid::API::IMDEventWorkspace>(Mantid::API::AnalysisDataService::Instance().retrieve("OutputTransformedWorkspace"));
TS_ASSERT(ws != NULL);
//Other tests required here!
}
};


Expand Down

0 comments on commit 15e9cc8

Please sign in to comment.