39#include "DGtal/helpers/StdDefs.h"
40#include "DGtal/base/Common.h"
47#include "DGtalCatch.h"
66 double t3[]= {1.0,-1.0,2.0,-2.0};
79 SECTION(
"Min/Max of vector components")
86 SECTION(
"Arithmetical Operators")
104 std::list<int>, std::vector<int>, std::set<int>)
106 TestType defaultConstructed;
108 SECTION(
"Size of the default constructed container")
110 REQUIRE( ( defaultConstructed.size() == 0 ) );
114 defaultConstructed.insert( defaultConstructed.begin(), 5 );
116 SECTION(
"Size after one insert")
118 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.
std::int32_t int32_t
signed 32-bit integer.
SECTION("Testing constant forward iterators")
REQUIRE(domain.isInside(aPoint))
PointVector< 3, double > RealPoint