Skip to content
Snippets Groups Projects
Commit b5f3b0ff authored by Sullivan, Brendan T's avatar Sullivan, Brendan T
Browse files

Re #24329 add unit test file

parent 3aa7e69e
No related branches found
No related tags found
No related merge requests found
......@@ -201,6 +201,7 @@ set ( TEST_FILES
SaveLauenormTest.h
SelectCellOfTypeTest.h
SelectCellWithFormTest.h
SetCrystalLocation.h
SetGoniometerTest.h
SetSpecialCoordinatesTest.h
SetUBTest.h
......
// Mantid Repository : https://github.com/mantidproject/mantid
//
// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
// NScD Oak Ridge National Laboratory, European Spallation Source
// & Institut Laue - Langevin
// SPDX - License - Identifier: GPL - 3.0 +
#ifndef SETCRYSTALLOCATIONTEST_H_
#define SETCRYSTALLOCATIONTEST_H_
#include "MantidAPI/ITableWorkspace.h"
#include "MantidCrystal/LoadIsawUB.h"
#include "MantidCrystal/ShowPeakHKLOffsets.h"
#include "MantidDataHandling/LoadNexusProcessed.h"
#include "MantidDataObjects/PeaksWorkspace.h"
#include <cxxtest/TestSuite.h>
using Mantid::DataHandling::LoadNexusProcessed;
using namespace Mantid::DataObjects;
using Mantid::Crystal::LoadIsawUB;
using Mantid::Crystal::ShowPeakHKLOffsets;
using Mantid::DataObjects::TableWorkspace;
class SetCrystalLocationTest : public CxxTest::TestSuite {
public:
void test_basic() {
LoadNexusProcessed load;
load.initialize();
load.setProperty("Filename", "TOPAZ_3007.peaks.nxs");
load.setProperty("OutputWorkspace", "aaa");
load.execute();
}
};
#endif /* SETCRYSTALLOCATIONTEST_H_ */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment