forked from mantidproject/mantid
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
Framework/Algorithms/test/PolarizationCorrections/FlipperEfficiencyTest.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// Mantid Repository : https://github.com/mantidproject/mantid | ||
// | ||
// Copyright © 2024 ISIS Rutherford Appleton Laboratory UKRI, | ||
// NScD Oak Ridge National Laboratory, European Spallation Source, | ||
// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS | ||
// SPDX - License - Identifier: GPL - 3.0 + | ||
#pragma once | ||
|
||
#include <cxxtest/TestSuite.h> | ||
|
||
#include "MantidAlgorithms/CreateSampleWorkspace.h" | ||
#include "MantidAlgorithms/PolarizationCorrections/FlipperEfficiency.h" | ||
|
||
namespace {} // namespace | ||
|
||
using Mantid::Algorithms::FlipperEfficiency; | ||
|
||
class FlipperEfficiencyTest : public CxxTest::TestSuite { | ||
public: | ||
void test_name() { | ||
FlipperEfficiency const alg; | ||
TS_ASSERT_EQUALS(alg.name(), "FlipperEfficiency"); | ||
} | ||
|
||
void test_version() { | ||
FlipperEfficiency const alg; | ||
TS_ASSERT_EQUALS(alg.version(), 1); | ||
} | ||
|
||
void test_category() { | ||
FlipperEfficiency const alg; | ||
TS_ASSERT_EQUALS(alg.category(), "SANS\\PolarizationCorrections"); | ||
} | ||
}; |