ProteoWizard
|
#include "SpectrumList_MZWindow.hpp"
#include "pwiz/utility/misc/unit.hpp"
#include "pwiz/utility/misc/Std.hpp"
#include <cstring>
Go to the source code of this file.
Functions | |
void | printSpectrumList (const SpectrumList &sl, ostream &os) |
SpectrumListPtr | createSpectrumList () |
void | verifySpectrumSize (const SpectrumList &sl, size_t index, size_t size) |
void | test () |
int | main (int argc, char *argv[]) |
Variables | |
ostream * | os_ = 0 |
void printSpectrumList | ( | const SpectrumList & | sl, |
ostream & | os | ||
) |
Definition at line 38 of file SpectrumList_MZWindowTest.cpp.
References pwiz::msdata::SpectrumList::size(), and pwiz::msdata::SpectrumList::spectrum().
SpectrumListPtr createSpectrumList | ( | ) |
Definition at line 58 of file SpectrumList_MZWindowTest.cpp.
References boost::lexical_cast(), MS_number_of_counts, os_, and printSpectrumList().
void verifySpectrumSize | ( | const SpectrumList & | sl, |
size_t | index, | ||
size_t | size | ||
) |
Definition at line 87 of file SpectrumList_MZWindowTest.cpp.
References pwiz::msdata::SpectrumList::spectrum(), and unit_assert.
Referenced by test().
void test | ( | ) |
Definition at line 96 of file SpectrumList_MZWindowTest.cpp.
References createSpectrumList(), os_, printSpectrumList(), pwiz::msdata::SpectrumListWrapper::size(), unit_assert, and verifySpectrumSize().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 125 of file SpectrumList_MZWindowTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG.
ostream* os_ = 0 |
Definition at line 35 of file SpectrumList_MZWindowTest.cpp.