|
ProteoWizard
|
#include "MZTolerance.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 | testMZ () |
| void | testPPM () |
| void | testIsWithinTolerance () |
| void | testIO () |
| void | test () |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream * | os_ = 0 |
| const double | epsilon_ = numeric_limits<double>::epsilon() |
| void testMZ | ( | ) |
Definition at line 40 of file MZToleranceTest.cpp.
References epsilon_, unit_assert_equal, and x.
Referenced by test().
| void testPPM | ( | ) |
Definition at line 56 of file MZToleranceTest.cpp.
References e(), epsilon_, unit_assert_equal, and x.
Referenced by test().
| void testIsWithinTolerance | ( | ) |
Definition at line 76 of file MZToleranceTest.cpp.
References pwiz::chemistry::isWithinTolerance(), and unit_assert.
Referenced by test().
| void testIO | ( | ) |
Definition at line 92 of file MZToleranceTest.cpp.
References os_, and unit_assert.
| void test | ( | ) |
Definition at line 167 of file MZToleranceTest.cpp.
References testIO(), testIsWithinTolerance(), testMZ(), and testPPM().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 176 of file MZToleranceTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG.
| ostream* os_ = 0 |
Definition at line 34 of file MZToleranceTest.cpp.
| const double epsilon_ = numeric_limits<double>::epsilon() |
Definition at line 37 of file MZToleranceTest.cpp.
1.8.1.1