|
ProteoWizard
|
#include "PeakDetectorNaive.hpp"#include "pwiz/data/misc/FrequencyData.hpp"#include "pwiz/data/misc/PeakData.hpp"#include "pwiz/utility/misc/unit.hpp"#include "pwiz/utility/misc/Std.hpp"Go to the source code of this file.
Functions | |
| void | testCreation () |
| void | testFind () |
| void | test () |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream * | os_ = 0 |
| FrequencyDatum | data_ [] |
| const unsigned int | dataSize_ = sizeof(data_)/sizeof(FrequencyDatum) |
| void testCreation | ( | ) |
Definition at line 39 of file PeakDetectorNaiveTest.cpp.
References pwiz::frequency::PeakDetectorNaive::detectionRadius(), pwiz::frequency::PeakDetectorNaive::noiseFactor(), and unit_assert.
| void testFind | ( | ) |
Definition at line 70 of file PeakDetectorNaiveTest.cpp.
References pwiz::data::FrequencyData::analyze(), pwiz::data::FrequencyData::data(), data_, dataSize_, pwiz::frequency::PeakDetectorNaive::findPeaks(), os_, pwiz::data::peakdata::PeakData::scans, and unit_assert.
| void test | ( | ) |
Definition at line 107 of file PeakDetectorNaiveTest.cpp.
References testCreation(), and testFind().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 114 of file PeakDetectorNaiveTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG.
| ostream* os_ = 0 |
Definition at line 36 of file PeakDetectorNaiveTest.cpp.
| FrequencyDatum data_[] |
Definition at line 49 of file PeakDetectorNaiveTest.cpp.
| const unsigned int dataSize_ = sizeof(data_)/sizeof(FrequencyDatum) |
Definition at line 67 of file PeakDetectorNaiveTest.cpp.
1.8.1.1