Gromacs
2020.4
|
#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"
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.
Classes | |
class | anonymous_namespace{histogram.cpp}::MockAverageHistogram |
Mock object for testing gmx::AbstractAverageHistogram. More... | |