ProteoWizard
|
#include "ProteinList_Filter.hpp"
#include "pwiz/utility/misc/unit.hpp"
#include "pwiz/utility/misc/IntegerSet.hpp"
#include "pwiz/utility/misc/Std.hpp"
#include <boost/assign.hpp>
Go to the source code of this file.
Classes | |
struct | SelectedIndexPredicate |
Functions | |
void | printProteinList (const ProteinList &pl, ostream &os) |
ProteinListPtr | createProteinList () |
void | testSelectedIndices (ProteinListPtr pl) |
void | testIndexSet (ProteinListPtr pl) |
void | testIdSet (ProteinListPtr pl) |
void | test () |
int | main (int argc, char *argv[]) |
Variables | |
ostream * | os_ = 0 |
void printProteinList | ( | const ProteinList & | pl, |
ostream & | os | ||
) |
Definition at line 41 of file ProteinList_FilterTest.cpp.
References pwiz::proteome::ProteinList::protein(), and pwiz::proteome::ProteinList::size().
Referenced by createProteinList(), testIdSet(), testIndexSet(), and testSelectedIndices().
ProteinListPtr createProteinList | ( | ) |
Definition at line 55 of file ProteinList_FilterTest.cpp.
References os_, and printProteinList().
Referenced by test().
void testSelectedIndices | ( | ProteinListPtr | pl | ) |
Definition at line 98 of file ProteinList_FilterTest.cpp.
References os_, printProteinList(), pwiz::analysis::ProteinList_Filter::protein(), pwiz::analysis::ProteinList_Filter::size(), and unit_assert_operator_equal.
Referenced by test().
void testIndexSet | ( | ProteinListPtr | pl | ) |
Definition at line 117 of file ProteinList_FilterTest.cpp.
References pwiz::util::IntegerSet::insert(), os_, printProteinList(), pwiz::analysis::ProteinList_Filter::protein(), pwiz::analysis::ProteinList_Filter::size(), and unit_assert_operator_equal.
Referenced by test().
void testIdSet | ( | ProteinListPtr | pl | ) |
Definition at line 143 of file ProteinList_FilterTest.cpp.
References os_, printProteinList(), pwiz::analysis::ProteinList_Filter::protein(), pwiz::analysis::ProteinList_Filter::size(), and unit_assert_operator_equal.
Referenced by test().
void test | ( | ) |
Definition at line 166 of file ProteinList_FilterTest.cpp.
References createProteinList(), testIdSet(), testIndexSet(), and testSelectedIndices().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 175 of file ProteinList_FilterTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG.
ostream* os_ = 0 |
Definition at line 38 of file ProteinList_FilterTest.cpp.