32 #include "DGtal/base/Common.h"
33 #include "DGtal/math/RationalAngle.h"
37 using namespace DGtal;
48 typedef RationalAngle<DGtal::int32_t > Angle;
60 a2rot = a2.minusPI_2();
61 trace.
info() << a1rot.myP <<
" " << a1rot.myQ << std::endl;
62 trace.
info() << a2rot.myP <<
" " << a2rot.myQ << std::endl;
64 unsigned int nbok = 0;
70 trace.
info() <<
"(" << nbok <<
"/" << nb <<
") "
71 <<
"true == true" << std::endl;
80 int main(
int argc,
char** argv )
84 for (
int i = 0; i < argc; ++i )
89 trace.
emphase() << ( res ?
"Passed." :
"Error." ) << endl;
void beginBlock(const std::string &keyword="")
DGtal is the top-level namespace which contains all DGtal functions and types.
int main(int argc, char **argv)