Skip to content

Commit

Permalink
Fix ChopperModel test. Refs #5650
Browse files Browse the repository at this point in the history
  • Loading branch information
martyngigg committed Jul 30, 2012
1 parent 57cd6e7 commit 23b5392
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions Code/Mantid/Framework/DataHandling/test/CreateChopperModelTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,6 @@ class CreateChopperModelTest : public CxxTest::TestSuite
TS_ASSERT_THROWS(alg->setPropertyValue("Parameters", ""), std::invalid_argument);
}

void test_Setting_Chopper_Without_Valid_Chopper_Point_Throws()
{
using namespace Mantid::API;
Mantid::API::IAlgorithm_sptr alg = createAlgorithm(m_inputName, "FermiChopperModel");

TS_ASSERT_THROWS_NOTHING(alg->setPropertyValue("Parameters",
"AngularVelocity=150,ChopperRadius=0.049,SlitThickness=0.00228,SlitRadius=1.3,Ei=45.0"));
TS_ASSERT_THROWS(alg->execute(), std::runtime_error);
}

void test_Setting_Valid_Parameter_String_Using_Numerical_Values_Attaches_Chopper_Object()
{
runTestWithValidParameters("AngularVelocity=150,ChopperRadius=0.049,SlitThickness=0.00228,SlitRadius=1.3,Ei=45.0");
Expand Down

0 comments on commit 23b5392

Please sign in to comment.