preCICE
v3.2.0
Loading...
Searching...
No Matches
src
testing
WaveformFixture.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
time/Waveform.hpp
"
4
5
namespace
precice::testing
{
6
/*
7
* @brief A fixture that is used to access private functions of the Waveform class.
8
*
9
* The fixture can be used to call private functions for individual testing.
10
*/
11
class
WaveformFixture
{
12
public
:
13
int
numberOfStoredSamples
(
time::Waveform
&waveform);
14
15
int
valuesSize
(
time::Waveform
&waveform);
16
};
17
18
}
// namespace precice::testing
Waveform.hpp
precice::testing::WaveformFixture
Definition
WaveformFixture.hpp:11
precice::testing::WaveformFixture::valuesSize
int valuesSize(time::Waveform &waveform)
Definition
WaveformFixture.cpp:11
precice::testing::WaveformFixture::numberOfStoredSamples
int numberOfStoredSamples(time::Waveform &waveform)
Definition
WaveformFixture.cpp:6
precice::time::Waveform
Allows to perform interpolation on samples in storage of given data.
Definition
Waveform.hpp:25
precice::testing
contains the testing framework.
Definition
helper.hpp:9