ProteoWizard
|
#include "FrequencyEstimatorSimple.hpp"
#include "pwiz/utility/misc/unit.hpp"
#include "pwiz/utility/misc/Std.hpp"
Go to the source code of this file.
Classes | |
struct | Datum |
Functions | |
void | test () |
void | testData () |
void | testData2_LocalMax () |
void | testData2_Parabola () |
int | main (int argc, char *argv[]) |
Variables | |
ostream * | os_ = 0 |
Datum | data_ [] |
const int | dataSize_ = sizeof(data_)/sizeof(Datum) |
void test | ( | ) |
Definition at line 37 of file FrequencyEstimatorSimpleTest.cpp.
References pwiz::data::FrequencyData::data(), e(), pwiz::frequency::FrequencyEstimatorSimple::estimate(), pwiz::data::peakdata::Peak::getAttribute(), pwiz::data::peakdata::Peak::intensity, os_, Parabola, unit_assert, and unit_assert_equal.
void testData | ( | ) |
Definition at line 122 of file FrequencyEstimatorSimpleTest.cpp.
References pwiz::data::FrequencyData::data(), e(), pwiz::frequency::FrequencyEstimatorSimple::estimate(), os_, Parabola, unit_assert, and unit_assert_equal.
void testData2_LocalMax | ( | ) |
Definition at line 200 of file FrequencyEstimatorSimpleTest.cpp.
References pwiz::data::FrequencyData::data(), data_, dataSize_, e(), pwiz::frequency::FrequencyEstimatorSimple::estimate(), LocalMax, os_, unit_assert, and unit_assert_equal.
Referenced by main().
void testData2_Parabola | ( | ) |
Definition at line 241 of file FrequencyEstimatorSimpleTest.cpp.
References pwiz::data::FrequencyData::data(), data_, dataSize_, e(), pwiz::frequency::FrequencyEstimatorSimple::estimate(), os_, Parabola, unit_assert, and unit_assert_equal.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 282 of file FrequencyEstimatorSimpleTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, TEST_PROLOG, testData, testData2_LocalMax(), and testData2_Parabola().
ostream* os_ = 0 |
Definition at line 34 of file FrequencyEstimatorSimpleTest.cpp.
Datum data_[] |
Definition at line 172 of file FrequencyEstimatorSimpleTest.cpp.
Definition at line 197 of file FrequencyEstimatorSimpleTest.cpp.