]> www.ginac.de Git - cln.git/blobdiff - tests/test_I_sqrtp.cc
Replace CL_REQUIRE/CL_PROVIDE(cl_RA_ring) with portable code.
[cln.git] / tests / test_I_sqrtp.cc
index cc70dcfbdf1e301ef8555a3bff6de52431946dda..78e1b5871bf7a7cb09a8022ba341c3f96a630d89 100644 (file)
@@ -10,9 +10,9 @@ int test_I_sqrtp (int iterations)
                cl_I a = testrandom_I();
                if (a >= 0) {
                        cl_I w;
-                       cl_boolean squarep = sqrtp(a,&w);
+                       bool squarep = sqrtp(a,&w);
                        cl_I correct_w;
-                       cl_boolean correct_squarep = isqrt(a,&correct_w);
+                       bool correct_squarep = isqrt(a,&correct_w);
                        ASSERT1(squarep == correct_squarep, a);
                        if (squarep)
                                ASSERT1(w == correct_w, a);