33 #include "DGtal/base/Common.h"
34 #include "DGtal/kernel/CInteger.h"
35 #include "DGtal/kernel/CUnsignedInteger.h"
39 using namespace DGtal;
51 unsigned int nbok = 0;
68 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") "
69 <<
"true == true" << std::endl;
102 nbok +=
true ? 1 : 0;
104 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") "
105 <<
"true == true" << std::endl;
108 trace.
beginBlock (
"Checking NumberTraits on built-in OS dependent types ..." );
109 trace.
warning() <<
"If digits() returns 0, the type is not considered in specilizations"<<endl;
120 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") "
121 <<
"true == true" << std::endl;
132 int main(
int argc,
char** argv )
136 for (
int i = 0; i < argc; ++i )
140 bool res = testInteger();
141 trace.
emphase() << ( res ?
"Passed." :
"Error." ) << endl;