Gromacs  2024.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
xvgtest.cpp File Reference
#include "gmxpre.h"
#include "testutils/xvgtest.h"
#include <cerrno>
#include <cstdlib>
#include <vector>
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/stringutil.h"
#include "gromacs/utility/textstream.h"
#include "testutils/refdata.h"
#include "testutils/testasserts.h"
#include "testutils/textblockmatchers.h"
+ Include dependency graph for xvgtest.cpp:

Description

Implements routine to check the content of xvg files.

Author
David van der Spoel david.nosp@m..van.nosp@m.dersp.nosp@m.oel@.nosp@m.icm.u.nosp@m.u.se
Teemu Murtola teemu.nosp@m..mur.nosp@m.tola@.nosp@m.gmai.nosp@m.l.com

Functions

bool gmx::test::anonymous_namespace{xvgtest.cpp}::isRelevantXvgCommand (const std::string &line)
 Helper function to identify which @ lines in xvg files should be tested.
 
void gmx::test::anonymous_namespace{xvgtest.cpp}::checkXvgDataPoint (TestReferenceChecker *checker, const std::string &value)
 Helper function to check a single xvg value in a sequence.
 
void gmx::test::checkXvgFile (TextInputStream *input, TestReferenceChecker *checker, const XvgMatchSettings &settings)
 Adds content of xvg file to TestReferenceChecker object. More...