X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=tests%2Fmain.cc;h=a877e779d363e24e9ba5f707e4c940ed6c5ccc49;hb=1bda4951ebdb5a5b03a503053d27036dd3b510aa;hp=136eb56a9f0c908cb444b70726721afac8179894;hpb=c84c6db5d56829d69083c819688a973867694a2a;p=cln.git diff --git a/tests/main.cc b/tests/main.cc index 136eb56..a877e77 100644 --- a/tests/main.cc +++ b/tests/main.cc @@ -11,6 +11,9 @@ //#include //#include #include +using namespace cln; +#include +using namespace std; #define DUMP(expr) \ fprint(cout, #expr" = "); fprint(cout, expr); fprint(cout, "\n"); @@ -49,7 +52,7 @@ int main (int argc, char* argv[]) #if 0 cl_I a = "77371252437321868671713407"; cl_I w; - cl_boolean squarep = isqrt(a,&w); + bool squarep = isqrt(a,&w); DUMP(squarep); DUMP(w); DUMP(expt_pos(w,2) <= a);