Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs
#include "gmxpre.h"
#include "gromacs/analysisdata/modules/histogram.h"
#include <gtest/gtest.h>
#include "gromacs/analysisdata/analysisdata.h"
#include "gromacs/analysisdata/tests/datatest.h"
#include "testutils/testasserts.h"
+ Include dependency graph for histogram.cpp:

Description

Tests for functionality of analysis data histogram modules.

These tests check that classes in histogram.h compute histograms correctly with simple input data. Also different ways of initializing the histograms are tested. Checking is done using gmx::test::AnalysisDataTestFixture and reference data. Also the input data is written to the reference data to catch out-of-date reference.

Author
Teemu Murtola teemu.nosp@m..mur.nosp@m.tola@.nosp@m.gmai.nosp@m.l.com

Classes

class  anonymous_namespace{histogram.cpp}::MockAverageHistogram
 Mock object for testing gmx::AbstractAverageHistogram. More...
 

Typedefs

typedef
gmx::test::AnalysisDataTestFixture 
anonymous_namespace{histogram.cpp}::SimpleHistogramModuleTest
 Test fixture for gmx::AnalysisDataSimpleHistogramModule.
 
typedef
gmx::test::AnalysisDataTestFixture 
anonymous_namespace{histogram.cpp}::WeightedHistogramModuleTest
 Test fixture for gmx::AnalysisDataWeightedHistogramModule.
 
typedef
gmx::test::AnalysisDataTestFixture 
anonymous_namespace{histogram.cpp}::BinAverageModuleTest
 Test fixture for gmx::AnalysisDataBinAverageModule.
 
typedef
gmx::test::AnalysisDataTestFixture 
anonymous_namespace{histogram.cpp}::AbstractAverageHistogramTest
 Test fixture for gmx::AbstractAverageHistogram.