tfel
Loading...
Searching...
No Matches
tfel::check::Test Struct Reference

Public Member Functions

 Test (Test &&) noexcept
 Test (const Test &)
Test & operator= (Test &&) noexcept
Test & operator= (const Test &)
void compare ()
 Does the comparison between the two columns, based on comparison_.
bool hasSucceed () const
std::string getMsgLog ()
std::shared_ptr< Comparison > getComparison () const
void setComparison (const std::shared_ptr< Comparison > &)
 sets the value of comparison_
bool isAllowLessResults () const
void setAllowLessResults (const bool)
 Sets the value of allowLessResults_.
void setColA (const std::shared_ptr< Column > &)
 Sets the first column to compare.
void setColB (const std::shared_ptr< Column > &)
 Sets the second column to compare.
void setColInterpolated (const std::shared_ptr< Column > &ci)
 Sets the column to be interpolated.
const std::string & getFileA () const
 Returns the name of the file containing the references.
void setFileA (const std::string &f1)
 Sets the name of the file containing the references.
const std::string & getFileB () const
 Returns the name of the file containing the results.
void setFileB (const std::string &f2)
 Sets the name of the file containing the results.
const std::shared_ptr< Interpolation > & getInterpolation () const
 Returns the interpolation used for this test.
void setInterpolation (const std::shared_ptr< Interpolation > &interpolation)
 Sets the interpolation used for this test.
double getPrec () const
 Returns the first precision.
void setPrec (double prec)
 Sets the first precision.
double getPrecision2 () const
 Returns the second precision.
void setPrecision2 (double precision2)
 Sets the second precision.
void applyInterpolation ()
 Applies the interpolation.
const std::shared_ptr< Column > & getColIntegralInterpolated () const
 Gets the column to be interpolated for the integration.
void setColIntegralInterpolated (const std::shared_ptr< Column > &colIntegralInterpolated)
 Sets the column to be interpolated for the integration.
const std::shared_ptr< Interpolation > & getIntegralInterpolation () const
 Gets the interpolation for the integration.
void setIntegralInterpolation (const std::shared_ptr< Interpolation > &integralInterpolation)
 Sets the interpolation for the integration.
const std::shared_ptr< Column > & getColA () const
 Gets the column of values of the first file.
const std::shared_ptr< Column > & getColB () const
 Gets the column of values of the second file.

Member Function Documentation

◆ getComparison()

std::shared_ptr< Comparison > tfel::check::Test::getComparison ( ) const
nodiscard
Returns
comparison_

◆ getMsgLog()

std::string tfel::check::Test::getMsgLog ( )
nodiscard
Returns
the message to be added in the log

◆ hasSucceed()

bool tfel::check::Test::hasSucceed ( ) const
nodiscard
Returns
true if the current test succeeded

◆ isAllowLessResults()

bool tfel::check::Test::isAllowLessResults ( ) const
nodiscard
Returns
true if user allowed less values for the results in the test

The documentation for this struct was generated from the following file: