|
ProteoWizard
|
#include "MS2Deisotoper.hpp"#include "SpectrumList_PeakFilter.hpp"#include "pwiz/utility/misc/unit.hpp"#include "pwiz/data/msdata/examples.hpp"#include "pwiz/data/msdata/TextWriter.hpp"#include "pwiz/data/common/CVTranslator.hpp"#include "pwiz/utility/misc/Std.hpp"Go to the source code of this file.
Classes | |
| struct | TestDeisotopeCalculator |
Functions | |
| ostream & | operator<< (ostream &os, const vector< double > &v) |
| vector< double > | parseDoubleArray (const string &doubleArray) |
| int | test () |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream * | os_ = 0 |
| TestDeisotopeCalculator | testDeisotopeCalculators [] |
| TestDeisotopeCalculator | goldStandard [] |
| const size_t | testDeisotopeSize = sizeof(testDeisotopeCalculators) / sizeof(TestDeisotopeCalculator) |
| const size_t | goldStandardSize = sizeof(goldStandard) / sizeof(TestDeisotopeCalculator) |
| ostream & operator<< | ( | ostream & | os, |
| const vector< double > & | v | ||
| ) |
Definition at line 37 of file MS2DeisotoperTest.cpp.
| vector< double > parseDoubleArray | ( | const string & | doubleArray | ) |
Definition at line 86 of file MS2DeisotoperTest.cpp.
Referenced by test().
| int test | ( | ) |
Definition at line 98 of file MS2DeisotoperTest.cpp.
References goldStandard, TestDeisotopeCalculator::inputIntensityArray, TestDeisotopeCalculator::inputMZArray, MS_ms_level, MS_MSn_spectrum, MS_number_of_detector_counts, parseDoubleArray(), pwiz::util::BinaryData< T >::size(), pwiz::msdata::SpectrumListSimple::spectra, testDeisotopeCalculators, testDeisotopeSize, unit_assert, and unit_assert_equal.
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 173 of file MS2DeisotoperTest.cpp.
References os_, test(), TEST_EPILOG, TEST_FAILED, TEST_PROLOG, and unit_assert_operator_equal.
| ostream* os_ = 0 |
Definition at line 35 of file MS2DeisotoperTest.cpp.
Referenced by main().
| TestDeisotopeCalculator testDeisotopeCalculators[] |
Definition at line 54 of file MS2DeisotoperTest.cpp.
Referenced by test().
| TestDeisotopeCalculator goldStandard[] |
Definition at line 68 of file MS2DeisotoperTest.cpp.
Referenced by test().
| const size_t testDeisotopeSize = sizeof(testDeisotopeCalculators) / sizeof(TestDeisotopeCalculator) |
Definition at line 83 of file MS2DeisotoperTest.cpp.
Referenced by test().
| const size_t goldStandardSize = sizeof(goldStandard) / sizeof(TestDeisotopeCalculator) |
Definition at line 84 of file MS2DeisotoperTest.cpp.