32#include "DGtal/base/Common.h"
33#include "DGtal/math/BasicMathFunctions.h"
48 unsigned int nbok = 0;
56 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") " << std::endl;
62 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") " << std::endl;
72 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") " << std::endl;
78 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") " << std::endl;
84 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") " << std::endl;
95int main(
int argc,
char** argv )
99 for (
int i = 0; i < argc; ++i )
104 trace.
emphase() << ( res ?
"Passed." :
"Error." ) << endl;
void beginBlock(const std::string &keyword="")
T power(const T &aVal, const unsigned int exponent)
T roundToUpperPowerOfTwo(const T &n)
DGtal is the top-level namespace which contains all DGtal functions and types.
bool testBasicMathFunctions()