|
ProteoWizard
|
#include "Std.hpp"#include "IntegerSet.hpp"#include "pwiz/utility/misc/unit.hpp"#include <cstring>#include <limits>Go to the source code of this file.
Functions | |
| void | test () |
| void | testInstantiation () |
| void | testContains () |
| void | testUpperBound () |
| void | testIntervalExtraction () |
| void | testIntervalExtraction2 () |
| void | testIntExtraction () |
| void | testParse () |
| void | testParse2 () |
| int | main (int argc, char *argv[]) |
Variables | |
| ostream * | os_ = 0 |
| void test | ( | ) |
Definition at line 37 of file IntegerSetTest.cpp.
References pwiz::util::IntegerSet::begin(), pwiz::util::IntegerSet::empty(), pwiz::util::IntegerSet::end(), pwiz::util::IntegerSet::insert(), os_, and unit_assert.
| void testInstantiation | ( | ) |
Definition at line 88 of file IntegerSetTest.cpp.
References pwiz::util::IntegerSet::begin(), pwiz::util::IntegerSet::end(), and unit_assert.
Referenced by main().
| void testContains | ( | ) |
Definition at line 106 of file IntegerSetTest.cpp.
References pwiz::util::IntegerSet::contains(), pwiz::util::IntegerSet::insert(), and unit_assert.
Referenced by main().
| void testUpperBound | ( | ) |
Definition at line 127 of file IntegerSetTest.cpp.
References pwiz::util::IntegerSet::hasUpperBound(), and unit_assert.
Referenced by main().
| void testIntervalExtraction | ( | ) |
Definition at line 138 of file IntegerSetTest.cpp.
References unit_assert.
Referenced by main().
| void testIntervalExtraction2 | ( | ) |
Definition at line 150 of file IntegerSetTest.cpp.
References max(), and unit_assert.
Referenced by main().
| void testIntExtraction | ( | ) |
Definition at line 176 of file IntegerSetTest.cpp.
References unit_assert.
Referenced by main().
| void testParse | ( | ) |
Definition at line 188 of file IntegerSetTest.cpp.
References pwiz::util::IntegerSet::begin(), pwiz::util::IntegerSet::end(), pwiz::util::IntegerSet::intervalCount(), pwiz::util::IntegerSet::parse(), pwiz::util::IntegerSet::size(), and unit_assert.
Referenced by main().
| void testParse2 | ( | ) |
Definition at line 212 of file IntegerSetTest.cpp.
References pwiz::util::IntegerSet::begin(), pwiz::util::IntegerSet::intervalCount(), max(), pwiz::util::IntegerSet::parse(), pwiz::util::IntegerSet::size(), and unit_assert.
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 241 of file IntegerSetTest.cpp.
References e(), os_, test(), TEST_EPILOG, TEST_FAILED, TEST_PROLOG, testContains(), testInstantiation(), testIntervalExtraction(), testIntervalExtraction2(), testIntExtraction(), testParse(), testParse2(), and testUpperBound().
| ostream* os_ = 0 |
Definition at line 34 of file IntegerSetTest.cpp.
1.8.1.1