ProteoWizard
|
Go to the source code of this file.
Functions | |
void | testSpectrumListSimple () |
void | testChromatograms () |
void | testIDParsing () |
void | testAllDataProcessing () |
int | main (int argc, const char *argv[]) |
void testSpectrumListSimple | ( | ) |
Definition at line 33 of file MSDataTest.cpp.
References pwiz::msdata::SpectrumList::dataProcessingPtr(), pwiz::msdata::SpectrumList::find(), pwiz::msdata::SpectrumList::findNameValue(), pwiz::msdata::SpectrumIdentity::id, pwiz::msdata::SpectrumIdentity::index, pwiz::msdata::MZIntensityPair::intensity, MS_intensity_array, MS_ionization_type, MS_m_z_array, MS_MSn_spectrum, MS_number_of_counts, pwiz::msdata::MZIntensityPair::mz, pwiz::msdata::MSData::run, pwiz::msdata::SpectrumList::size(), pwiz::msdata::SpectrumList::spectrum(), pwiz::msdata::SpectrumList::spectrumIdentity(), pwiz::msdata::Run::spectrumListPtr, and unit_assert.
Referenced by main().
void testChromatograms | ( | ) |
Definition at line 164 of file MSDataTest.cpp.
References pwiz::msdata::ChromatogramList::chromatogram(), pwiz::msdata::ChromatogramListSimple::chromatograms, pwiz::msdata::ChromatogramList::dataProcessingPtr(), pwiz::msdata::ChromatogramListSimple::dp, MS_number_of_counts, pwiz::msdata::ChromatogramList::size(), unit_assert, and UO_second.
Referenced by main().
void testIDParsing | ( | ) |
Definition at line 197 of file MSDataTest.cpp.
References pwiz::msdata::id::abbreviate(), CVID_Unknown, e(), MS_Bruker_Agilent_YEP_nativeID_format, MS_Bruker_BAF_nativeID_format, MS_multiple_peak_list_nativeID_format, MS_no_nativeID_format, MS_scan_number_only_nativeID_format, MS_spectrum_identifier_nativeID_format, MS_Thermo_nativeID_format, MS_WIFF_nativeID_format, pwiz::msdata::id::parse(), pwiz::msdata::id::translateNativeIDToScanNumber(), pwiz::msdata::id::translateScanNumberToNativeID(), unit_assert, unit_assert_equal, and pwiz::msdata::id::value().
Referenced by main().
void testAllDataProcessing | ( | ) |
Definition at line 247 of file MSDataTest.cpp.
References pwiz::msdata::MSData::allDataProcessingPtrs(), pwiz::msdata::MSData::dataProcessingPtrs, pwiz::msdata::MSData::run, pwiz::msdata::Run::spectrumListPtr, and unit_assert_operator_equal.
Referenced by main().
int main | ( | int | argc, |
const char * | argv[] | ||
) |
Definition at line 266 of file MSDataTest.cpp.
References e(), TEST_EPILOG, TEST_FAILED, TEST_PROLOG, testAllDataProcessing(), testChromatograms(), testIDParsing(), and testSpectrumListSimple().