Gromacs  2025-dev-20240614-602a366
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Enumerations | Functions
refdata.h File Reference
#include <iterator>
#include <memory>
#include <string>
#include "gromacs/math/gmxcomplex.h"
#include "gromacs/utility/basedefinitions.h"
#include "gromacs/utility/classhelpers.h"
+ Include dependency graph for refdata.h:
+ This graph shows which files directly or indirectly include this file:


Functionality for writing tests that can produce their own reference data.

See Using reference data in C++ tests for more details.

Teemu Murtola
Mark Abraham


class  gmx::BasicVector< ValueType >
 C++ class for 3D vectors. More...
class  gmx::test::TestReferenceData
 Handles creation of and comparison to test reference data. More...
class  gmx::test::TestReferenceChecker
 Handles comparison to test reference data. More...


enum  gmx::test::ReferenceDataMode : int {
  gmx::test::ReferenceDataMode::Compare, gmx::test::ReferenceDataMode::CreateMissing, gmx::test::ReferenceDataMode::UpdateChanged, gmx::test::ReferenceDataMode::UpdateAll,
 Mode of operation for reference data handling. More...


ReferenceDataMode gmx::test::referenceDataMode ()
 Returns the global mode describing how reference data is handled.
void gmx::test::initReferenceData (IOptionsContainer *options)
 Initializes reference data handling. More...