33 #include "DGtal/base/Common.h" 34 #include "DGtal/kernel/CInteger.h" 35 #include "DGtal/kernel/CUnsignedNumber.h" 39 using namespace DGtal;
51 unsigned int nbok = 0;
60 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") " 61 <<
"true == true" << std::endl;
96 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") " 97 <<
"true == true" << std::endl;
100 trace.
beginBlock (
"Checking NumberTraits on built-in OS dependent types ..." );
101 trace.
warning() <<
"If digits() returns 0, the type is not considered in specilizations"<<endl;
112 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") " 113 <<
"true == true" << std::endl;
124 int main(
int argc,
char** argv )
128 for (
int i = 0; i < argc; ++i )
133 trace.
emphase() << ( res ?
"Passed." :
"Error." ) << endl;
void beginBlock(const std::string &keyword="")
Aim: Concept checking for Unsigned numbers. Models of this concept should be listed in NumberTraits c...
Aim: Concept checking for Integer Numbers. More precisely, this concept is a refinement of both CEucl...
Aim: The traits class for all models of Cinteger.
DGtal is the top-level namespace which contains all DGtal functions and types.
int main(int argc, char **argv)