ProteoWizard
|
#include "SpectrumList_ChargeStateCalculator.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 | TestChargeStateCalculator |
Functions | |
ostream & | operator<< (ostream &os, const vector< double > &v) |
vector< double > | parseDoubleArray (const string &doubleArray) |
vector< CVID > | parseCVTermArray (const string &cvTermArray) |
int | test () |
int | main (int argc, char *argv[]) |
Variables | |
ostream * | os_ = 0 |
TestChargeStateCalculator | testChargeStateCalculators [] |
const size_t | testChargeStateCalculatorsSize = sizeof(testChargeStateCalculators) / sizeof(TestChargeStateCalculator) |
ostream& operator<< | ( | ostream & | os, |
const vector< double > & | v | ||
) |
Definition at line 36 of file SpectrumList_ChargeStateCalculatorTest.cpp.
vector<double> parseDoubleArray | ( | const string & | doubleArray | ) |
Definition at line 268 of file SpectrumList_ChargeStateCalculatorTest.cpp.
vector<CVID> parseCVTermArray | ( | const string & | cvTermArray | ) |
Definition at line 280 of file SpectrumList_ChargeStateCalculatorTest.cpp.
References pwiz::data::CVTranslator::translate().
Referenced by test().
int test | ( | ) |
Definition at line 292 of file SpectrumList_ChargeStateCalculatorTest.cpp.
References TestChargeStateCalculator::chargeStateArray, pwiz::data::CVParam::cvid, e(), TestChargeStateCalculator::inputActivationTypeArray, TestChargeStateCalculator::inputChargeStateArray, TestChargeStateCalculator::inputIntensityArray, TestChargeStateCalculator::inputMZArray, TestChargeStateCalculator::inputPrecursorMZ, TestChargeStateCalculator::maxMultipleCharge, TestChargeStateCalculator::minMultipleCharge, MS_charge_state, MS_ms_level, MS_MSn_spectrum, MS_number_of_counts, MS_possible_charge_state, TestChargeStateCalculator::overrideExistingChargeState, parseCVTermArray(), parseDoubleArray(), TestChargeStateCalculator::singlyChargedFraction, pwiz::msdata::SpectrumListSimple::spectra, testChargeStateCalculators, testChargeStateCalculatorsSize, unit_assert, unit_assert_operator_equal, TestChargeStateCalculator::useMakeMS2Behavior, and pwiz::data::CVParam::valueAs().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 351 of file SpectrumList_ChargeStateCalculatorTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, TEST_PROLOG, and unit_assert_operator_equal.
ostream* os_ = 0 |
Definition at line 34 of file SpectrumList_ChargeStateCalculatorTest.cpp.
TestChargeStateCalculator testChargeStateCalculators[] |
Definition at line 63 of file SpectrumList_ChargeStateCalculatorTest.cpp.
Referenced by test().
const size_t testChargeStateCalculatorsSize = sizeof(testChargeStateCalculators) / sizeof(TestChargeStateCalculator) |
Definition at line 266 of file SpectrumList_ChargeStateCalculatorTest.cpp.
Referenced by test().