Skip to content

Commit

Permalink
Re #10843. Fix a unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mantid-roman committed Dec 24, 2014
1 parent 7a5f022 commit b9b6ed2
Showing 1 changed file with 2 additions and 3 deletions.
Expand Up @@ -7,7 +7,6 @@
#include "MantidTestHelpers/WorkspaceCreationHelper.h"
#include "MantidWorkflowAlgorithms/MuonCalculateAsymmetry.h"


using Mantid::WorkflowAlgorithms::MuonCalculateAsymmetry;

using namespace Mantid::Kernel;
Expand Down Expand Up @@ -239,8 +238,8 @@ class MuonCalculateAsymmetryTest : public CxxTest::TestSuite
TS_ASSERT_DELTA( ws->readY(0)[1], 0.778, 0.001 );
TS_ASSERT_DELTA( ws->readY(0)[2], 0.714, 0.001 );

TS_ASSERT_EQUALS( ws->readX(0)[0], 1 );
TS_ASSERT_EQUALS( ws->readX(0)[1], 2 );
TS_ASSERT_EQUALS( ws->readX(0)[0], 1.5 );
TS_ASSERT_EQUALS( ws->readX(0)[1], 2.5 );
TS_ASSERT_EQUALS( ws->readX(0)[2], 3 );

TS_ASSERT_DELTA( ws->readE(0)[0], 0.475, 0.01 );
Expand Down

0 comments on commit b9b6ed2

Please sign in to comment.