ProteoWizard
|
#include "OrderedPair.hpp"
#include "pwiz/utility/misc/Std.hpp"
#include "pwiz/utility/misc/unit.hpp"
#include "boost/static_assert.hpp"
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 40 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 91 of file OrderedPairTest.cpp.
References os_, and testContainer().
Referenced by test().
void testVectorDouble | ( | ) |
Definition at line 100 of file OrderedPairTest.cpp.
References os_, and testContainer().
Referenced by test().
void testVectorOrderedPair | ( | ) |
Definition at line 109 of file OrderedPairTest.cpp.
References os_, and testContainer().
Referenced by test().
void testVectorCustomPair | ( | ) |
Definition at line 125 of file OrderedPairTest.cpp.
References os_, and testContainer().
Referenced by test().
void testEquality | ( | ) |
Definition at line 136 of file OrderedPairTest.cpp.
References os_, and unit_assert.
Referenced by test().
void testExtraction | ( | ) |
Definition at line 156 of file OrderedPairTest.cpp.
References unit_assert, x, and y.
Referenced by test().
void test | ( | ) |
Definition at line 169 of file OrderedPairTest.cpp.
References testArray(), testEquality(), testExtraction(), testVectorCustomPair(), testVectorDouble(), and testVectorOrderedPair().
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 180 of file OrderedPairTest.cpp.
References os_, test(), TEST_EPILOG, TEST_FAILED, and TEST_PROLOG.
ostream* os_ = 0 |
Definition at line 34 of file OrderedPairTest.cpp.
Referenced by main(), testArray(), testContainer(), testEquality(), testVectorCustomPair(), testVectorDouble(), and testVectorOrderedPair().