34#include "DGtal/base/Common.h"
35#include "DGtal/kernel/CInteger.h"
36#include "DGtal/kernel/CUnsignedNumber.h"
38#include "DGtalCatch.h"
54 trace.beginBlock (
"Checking CInteger models ..." );
85 trace.beginBlock (
"Checking CUnsignedInteger models ..." );
89 trace.beginBlock (
"Checking NumberTraits on built-in OS dependent types ..." );
90 trace.warning() <<
"If digits() returns 0, the type is not considered in specilizations"<<endl;
99 trace.beginBlock (
"Checking CUnsignedInteger models ..." );
104 CHECK(big == (
int)425);
108 CHECK(res == (
int)430);
DGtal is the top-level namespace which contains all DGtal functions and types.
boost::multiprecision::number< boost::multiprecision::cpp_int_backend<>, boost::multiprecision::et_off > BigInteger
Aim: The traits class for all models of Cinteger.
Aim: Concept checking for Integer Numbers. More precisely, this concept is a refinement of both CEucl...
Aim: Concept checking for Unsigned numbers. Models of this concept should be listed in NumberTraits c...
TEST_CASE("Checking CInteger models")