Skip to content

Commit

Permalink
Make ShowPeakOffsetTest use ITable re #9726
Browse files Browse the repository at this point in the history
Signed-off-by: Karl Palmen <karl.palmen@stfc.ac.uk>
  • Loading branch information
KarlPalmen committed Apr 29, 2015
1 parent b9f2f7a commit 0396c19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Crystal/test/ShowPeakHKLOffsetsTest.h
Expand Up @@ -8,10 +8,10 @@
#ifndef SHOWPEAKHKLOFFSETSTEST_H_
#define SHOWPEAKHKLOFFSETSTEST_H_
#include <cxxtest/TestSuite.h>
#include "MantidAPI/ITableWorkspace.h"
#include "MantidCrystal/LoadIsawPeaks.h"
#include "MantidCrystal/LoadIsawUB.h"
#include "MantidCrystal/ShowPeakHKLOffsets.h"
#include "../../DataObjects/inc/MantidDataObjects/TableWorkspace.h"

using Mantid::Crystal::LoadIsawPeaks;
using Mantid::Crystal::LoadIsawUB;
Expand Down Expand Up @@ -48,7 +48,7 @@ class ShowPeakHKLOffsetsTest: public CxxTest::TestSuite
TS_ASSERT(show.execute())
TS_ASSERT(show.isExecuted())
show.setProperty("HKLIntegerOffsets","offsets");
boost::shared_ptr<TableWorkspace> Offsets= show.getProperty("HKLIntegerOffsets");
boost::shared_ptr<Mantid::API::ITableWorkspace> Offsets= show.getProperty("HKLIntegerOffsets");


TS_ASSERT_DELTA( Offsets->Double(3,1), 0.0186555,.1)
Expand Down

0 comments on commit 0396c19

Please sign in to comment.