39#include "ConfigExamples.h"
40#include "DGtal/helpers/StdDefs.h"
41#include "DGtal/base/Common.h"
48#include "DGtalCatch.h"
67 double t3[]= {1.0,-1.0,2.0,-2.0};
80 SECTION(
"Min/Max of vector components")
87 SECTION(
"Arithmetical Operators")
105 std::list<int>, std::vector<int>, std::set<int>)
107 TestType defaultConstructed;
109 SECTION(
"Size of the default constructed container")
111 REQUIRE( ( defaultConstructed.size() == 0 ) );
115 defaultConstructed.insert( defaultConstructed.begin(), 5 );
117 SECTION(
"Size after one insert")
119 REQUIRE( ( defaultConstructed.size() == 1 ) );
Aim: Implements basic operations that will be used in Point and Vector classes.
TEMPLATE_TEST_CASE("STL Container test", "Description", std::list< int >, std::vector< int >, std::set< int >)
[exampleCatch-example1]
TEST_CASE("Point Vector Unit tests")
[exampleCatch-example1]
DGtal is the top-level namespace which contains all DGtal functions and types.
boost::int32_t int32_t
signed 32-bit integer.
SECTION("Testing constant forward iterators")
REQUIRE(domain.isInside(aPoint))