]> www.ginac.de Git - cln.git/blob - tests/test_I_logeqv.cc
Fix double_approx(const cl_RA& x) on 64-Bit platforms.
[cln.git] / tests / test_I_logeqv.cc
1 #include "test_I.h"
2
3 int test_I_logeqv (int iterations)
4 {
5         int error = 0;
6         int i;
7         // Check against logxor.
8         for (i = iterations; i > 0; i--) {
9                 cl_I a = testrandom_I();
10                 cl_I b = testrandom_I();
11                 ASSERT2(logeqv(a,b) == lognot(logxor(a,b)), a,b);
12         }
13         return error;
14 }