Gromacs  2027.0-dev-20260911-dd668767
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::test::XvgMatch Class Reference

#include <testutils/include/testutils/xvgtest.h>

+ Inheritance diagram for gmx::test::XvgMatch:
+ Collaboration diagram for gmx::test::XvgMatch:

Description

Match the contents as an xvg file. By default all content is compared as reals. If xvg content contains strings, set matchNonRealValuesAsStrings to true.

See Also
checkXvgFile()

Public Member Functions

XvgMatchtolerance (const FloatingPointTolerance &tolerance)
 Sets the tolerance for matching data point values.
 
XvgMatchmatchNonRealValuesAsStrings ()
 Sets boolean which specifies if xvg file has strings (true) or only reals (false, default). More...
 
XvgMatchtestData (bool test)
 Sets whether the actual data is checked. More...
 
TextBlockMatcherPointer createMatcher () const override
 Factory method that constructs the matcher after parameters are set.
 

Member Function Documentation

XvgMatch& gmx::test::XvgMatch::matchNonRealValuesAsStrings ( )
inline

Sets boolean which specifies if xvg file has strings (true) or only reals (false, default).

XvgMatch& gmx::test::XvgMatch::testData ( bool  test)
inline

Sets whether the actual data is checked.

If set to false, only the legends are checked. Use this if the data is already tested using different means.


The documentation for this class was generated from the following files: