|
ProteoWizard
|
#include "IsotopeCalculator.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 | nonzero (int a) |
| double | probability (const vector< double > &p, const vector< int > &i) |
| void | testUsage (const IsotopeCalculator &calc) |
| void | testProbabilites (const IsotopeCalculator &calc) |
| void | testNormalization (const IsotopeCalculator &calc) |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream * | os_ = 0 |
|
inline |
Definition at line 37 of file IsotopeCalculatorTest.cpp.
Referenced by probability().
| double probability | ( | const vector< double > & | p, |
| const vector< int > & | i | ||
| ) |
Definition at line 44 of file IsotopeCalculatorTest.cpp.
References nonzero().
Referenced by testProbabilites().
| void testUsage | ( | const IsotopeCalculator & | calc | ) |
Definition at line 95 of file IsotopeCalculatorTest.cpp.
References pwiz::chemistry::IsotopeCalculator::distribution(), and os_.
| void testProbabilites | ( | const IsotopeCalculator & | calc | ) |
Definition at line 108 of file IsotopeCalculatorTest.cpp.
References C, pwiz::chemistry::IsotopeCalculator::distribution(), e(), os_, probability(), pwiz::proteome::AminoAcid::Info::record(), and unit_assert_equal.
Referenced by main().
| void testNormalization | ( | const IsotopeCalculator & | calc | ) |
Definition at line 148 of file IsotopeCalculatorTest.cpp.
References pwiz::chemistry::IsotopeCalculator::distribution(), e(), NormalizeMass, os_, unit_assert, and unit_assert_equal.
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 173 of file IsotopeCalculatorTest.cpp.
References e(), os_, TEST_EPILOG, TEST_FAILED, TEST_PROLOG, testNormalization(), testProbabilites(), and testUsage().
| ostream* os_ = 0 |
Definition at line 34 of file IsotopeCalculatorTest.cpp.
1.8.1.1