|
Scroom
0.14
|
#include <boost/mpl/list.hpp>#include <boost/test/unit_test.hpp>#include <scroom/gtk-helpers.hh>#include <scroom/linearsegment.hh>#include <scroom/rectangle.hh>
Classes | |
| class | RectangleHorizontalTestScaffold |
| class | RectangleVerticalTestScaffold |
Typedefs | |
| using | test_types = boost::mpl::list< Segment< int >, RectangleHorizontalTestScaffold, RectangleVerticalTestScaffold > |
Functions | |
| template<class Scaffold > | |
| void | containedSegmentEqualsIntersection (const Scaffold &container, const Scaffold &contained) |
| template<class Scaffold > | |
| void | intersectsImpliesNonEmptyIntersection (const Scaffold &a, const Scaffold &b) |
| BOOST_AUTO_TEST_CASE_TEMPLATE (testCreateSegment, Scaffold, test_types) | |
| BOOST_AUTO_TEST_CASE_TEMPLATE (testMoveTo, Scaffold, test_types) | |
| BOOST_AUTO_TEST_CASE_TEMPLATE (testReduceSizeToMultipleOf, Scaffold, test_types) | |
| BOOST_AUTO_TEST_CASE_TEMPLATE (testContainsPoint, Scaffold, test_types) | |
| BOOST_AUTO_TEST_CASE_TEMPLATE (testContainsSegment, Scaffold, test_types) | |
| BOOST_AUTO_TEST_CASE_TEMPLATE (testIntersects, Scaffold, test_types) | |
| BOOST_AUTO_TEST_CASE_TEMPLATE (testIntersection, Scaffold, test_types) | |
| BOOST_AUTO_TEST_CASE (testRetrievingHorizontallyAndVertically) | |
| BOOST_AUTO_TEST_CASE (testConversionToAndFromGdkRectangle) | |
| BOOST_AUTO_TEST_CASE (testCorners) | |
| BOOST_AUTO_TEST_CASE (testMath) | |
| BOOST_AUTO_TEST_CASE (testCuts) | |
| BOOST_AUTO_TEST_CASE (testPlus) | |
| BOOST_AUTO_TEST_CASE (testMinus) | |
| BOOST_AUTO_TEST_CASE (testMultiply) | |
| BOOST_AUTO_TEST_CASE (testAnd) | |
| using test_types = boost::mpl::list<Segment<int>, RectangleHorizontalTestScaffold, RectangleVerticalTestScaffold> |
| BOOST_AUTO_TEST_CASE | ( | testAnd | ) |

| BOOST_AUTO_TEST_CASE | ( | testConversionToAndFromGdkRectangle | ) |

| BOOST_AUTO_TEST_CASE | ( | testCorners | ) |

| BOOST_AUTO_TEST_CASE | ( | testCuts | ) |

| BOOST_AUTO_TEST_CASE | ( | testMath | ) |

| BOOST_AUTO_TEST_CASE | ( | testMinus | ) |

| BOOST_AUTO_TEST_CASE | ( | testMultiply | ) |

| BOOST_AUTO_TEST_CASE | ( | testPlus | ) |

| BOOST_AUTO_TEST_CASE | ( | testRetrievingHorizontallyAndVertically | ) |

| BOOST_AUTO_TEST_CASE_TEMPLATE | ( | testContainsPoint | , |
| Scaffold | , | ||
| test_types | |||
| ) |
| BOOST_AUTO_TEST_CASE_TEMPLATE | ( | testContainsSegment | , |
| Scaffold | , | ||
| test_types | |||
| ) |

| BOOST_AUTO_TEST_CASE_TEMPLATE | ( | testCreateSegment | , |
| Scaffold | , | ||
| test_types | |||
| ) |

| BOOST_AUTO_TEST_CASE_TEMPLATE | ( | testIntersection | , |
| Scaffold | , | ||
| test_types | |||
| ) |

| BOOST_AUTO_TEST_CASE_TEMPLATE | ( | testIntersects | , |
| Scaffold | , | ||
| test_types | |||
| ) |

| BOOST_AUTO_TEST_CASE_TEMPLATE | ( | testMoveTo | , |
| Scaffold | , | ||
| test_types | |||
| ) |

| BOOST_AUTO_TEST_CASE_TEMPLATE | ( | testReduceSizeToMultipleOf | , |
| Scaffold | , | ||
| test_types | |||
| ) |

| void containedSegmentEqualsIntersection | ( | const Scaffold & | container, |
| const Scaffold & | contained | ||
| ) |
Referenced by BOOST_AUTO_TEST_CASE_TEMPLATE().


| void intersectsImpliesNonEmptyIntersection | ( | const Scaffold & | a, |
| const Scaffold & | b | ||
| ) |
Referenced by BOOST_AUTO_TEST_CASE_TEMPLATE().

