Skip to content

Commit

Permalink
Refs #8962 Updated Load test
Browse files Browse the repository at this point in the history
One test haddn't been updated when the stich group indexes were changed to start at one
  • Loading branch information
keithnbrown committed Apr 11, 2014
1 parent 478ee10 commit c1c8a32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Code/Mantid/Framework/DataHandling/test/LoadReflTBLTest.h
Expand Up @@ -129,7 +129,7 @@ class LoadReflTBLTest : public CxxTest::TestSuite
TS_ASSERT_DELTA(boost::lexical_cast<double>(row.cell<std::string>(4)),0.06,0.001);
TS_ASSERT_DELTA(boost::lexical_cast<double>(row.cell<std::string>(5)),0.04,0.001);
TS_ASSERT_DELTA(boost::lexical_cast<double>(row.cell<std::string>(6)),2,0.01);
TS_ASSERT_EQUALS(row.cell<int>(7),0);
TS_ASSERT_EQUALS(row.cell<int>(7),1);

row = outputWS->getRow(1);
TS_ASSERT_EQUALS(row.cell<std::string>(0),"13469");
Expand All @@ -139,7 +139,7 @@ class LoadReflTBLTest : public CxxTest::TestSuite
TS_ASSERT_DELTA(boost::lexical_cast<double>(row.cell<std::string>(4)),0.06,0.001);
TS_ASSERT_DELTA(boost::lexical_cast<double>(row.cell<std::string>(5)),0.04,0.001);
TS_ASSERT_DELTA(boost::lexical_cast<double>(row.cell<std::string>(6)),2,0.01);
TS_ASSERT_EQUALS(row.cell<int>(7),1);
TS_ASSERT_EQUALS(row.cell<int>(7),2);

row = outputWS->getRow(2);
TS_ASSERT_EQUALS(row.cell<std::string>(0),"13470");
Expand All @@ -149,7 +149,7 @@ class LoadReflTBLTest : public CxxTest::TestSuite
TS_ASSERT_DELTA(boost::lexical_cast<double>(row.cell<std::string>(4)),0.3,0.001);
TS_ASSERT_DELTA(boost::lexical_cast<double>(row.cell<std::string>(5)),0.04,0.001);
TS_ASSERT_DELTA(boost::lexical_cast<double>(row.cell<std::string>(6)),2,0.01);
TS_ASSERT_EQUALS(row.cell<int>(7),1);
TS_ASSERT_EQUALS(row.cell<int>(7),2);

cleanupafterwards();
}
Expand Down

0 comments on commit c1c8a32

Please sign in to comment.