|
ProteoWizard
|
#include "OrderedPair.hpp"#include "pwiz/utility/misc/unit.hpp"#include "boost/static_assert.hpp"#include <iostream>#include <algorithm>#include <iterator>#include <cstring>Go to the source code of this file.
Classes | |
| struct | CustomPair |
Functions | |
| BOOST_STATIC_ASSERT (sizeof(OrderedPair)==2 *sizeof(double)) | |
| void | testContainer (const OrderedPairContainerRef &pairs) |
| void | testArray () |
| void | testVectorDouble () |
| void | testVectorOrderedPair () |
| void | testVectorCustomPair () |
| void | testEquality () |
| void | testExtraction () |
| void | test () |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream * | os_ = 0 |
| BOOST_STATIC_ASSERT | ( | sizeof(OrderedPair) | = =2 *sizeof(double) | ) |
| void testContainer | ( | const OrderedPairContainerRef & | pairs | ) |
Definition at line 44 of file OrderedPairTest.cpp.
References pwiz::math::OrderedPairContainerRef::begin(), pwiz::math::OrderedPairContainerRef::end(), os_, pwiz::math::OrderedPairContainerRef::size(), unit_assert, x, and y.
Referenced by testArray(), testVectorCustomPair(), testVectorDouble(), and testVectorOrderedPair().
| void testArray | ( | ) |
Definition at line 95 of file OrderedPairTest.cpp.
References os_, and testContainer().
| void testVectorDouble | ( | ) |
Definition at line 104 of file OrderedPairTest.cpp.
References os_, and testContainer().
Referenced by test().
| void testVectorOrderedPair | ( | ) |
Definition at line 113 of file OrderedPairTest.cpp.
References os_, and testContainer().
Referenced by test().
| void testVectorCustomPair | ( | ) |
Definition at line 129 of file OrderedPairTest.cpp.
References os_, and testContainer().
Referenced by test().
| void testEquality | ( | ) |
Definition at line 140 of file OrderedPairTest.cpp.
References os_, and unit_assert.
| void testExtraction | ( | ) |
Definition at line 160 of file OrderedPairTest.cpp.
References unit_assert, x, and y.
Referenced by test().
| void test | ( | ) |
Definition at line 173 of file OrderedPairTest.cpp.
References testArray, testEquality(), testExtraction(), testVectorCustomPair(), testVectorDouble(), and testVectorOrderedPair().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 184 of file OrderedPairTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG.
| ostream* os_ = 0 |
Definition at line 38 of file OrderedPairTest.cpp.
1.8.1.1