|
ProteoWizard
|
#include "IsotopeTable.hpp"#include "pwiz/utility/misc/unit.hpp"#include "pwiz/utility/misc/Std.hpp"#include <cstring>Go to the source code of this file.
Functions | |
| bool | hasGreaterAbundance (const MassAbundance &a, const MassAbundance &b) |
| bool | hasLessMass (const MassAbundance &a, const MassAbundance &b) |
| void | test1 () |
| void | test2 () |
| void | compare (const MassDistribution &test, const MassDistribution &good) |
| void | test3 () |
| void | test4 () |
| void | testSulfur () |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream * | os_ = 0 |
| bool hasGreaterAbundance | ( | const MassAbundance & | a, |
| const MassAbundance & | b | ||
| ) |
Definition at line 37 of file IsotopeTableTest.cpp.
References pwiz::chemistry::MassAbundance::abundance.
| bool hasLessMass | ( | const MassAbundance & | a, |
| const MassAbundance & | b | ||
| ) |
Definition at line 43 of file IsotopeTableTest.cpp.
References pwiz::chemistry::MassAbundance::mass.
| void test1 | ( | ) |
Definition at line 49 of file IsotopeTableTest.cpp.
References pwiz::chemistry::IsotopeTable::distribution(), and unit_assert.
Referenced by main(), and test2().
| void test2 | ( | ) |
Definition at line 66 of file IsotopeTableTest.cpp.
References pwiz::chemistry::IsotopeTable::distribution(), e(), hasGreaterAbundance(), k, sort(), test1(), unit_assert, and unit_assert_equal.
| void compare | ( | const MassDistribution & | test, |
| const MassDistribution & | good | ||
| ) |
Definition at line 120 of file IsotopeTableTest.cpp.
References e(), unit_assert, and unit_assert_equal.
| void test3 | ( | ) |
Definition at line 131 of file IsotopeTableTest.cpp.
References compare(), pwiz::chemistry::IsotopeTable::distribution(), e(), hasGreaterAbundance(), and sort().
Referenced by main(), test(), testCancel(), and testRemove().
| void test4 | ( | ) |
Definition at line 173 of file IsotopeTableTest.cpp.
References compare(), pwiz::chemistry::IsotopeTable::distribution(), and e().
Referenced by test(), testCancel(), and testRemove().
| void testSulfur | ( | ) |
Definition at line 203 of file IsotopeTableTest.cpp.
References pwiz::chemistry::IsotopeTable::distribution(), e(), pwiz::proteome::AminoAcid::Info::record(), and Se.
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 214 of file IsotopeTableTest.cpp.
References e(), os_, test1(), test2(), test3(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG.
| ostream* os_ = 0 |
Definition at line 34 of file IsotopeTableTest.cpp.
1.8.1.1