/[cln]/tests/test_I_logorc1.cc
ViewVC logotype

Contents of /tests/test_I_logorc1.cc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (hide annotations) (vendor branch)
Fri Jan 28 11:37:44 2000 UTC (13 years, 3 months ago) by kreckel
Branch: cln, MAIN
CVS Tags: cln_1-1-1, cln_1-1-0, cln_1-1-3, cln_1-1-2, cln_1-1-5, cln_1-1-4, cln_1-1-7, cln_1-1-6, cln_1-2-2, cln_1-1-8, cln_1-2-0, cln_1-2-1, release-1_0_3, cln_1-1-9, cln_1-1-11, cln_1-1-10, cln_1-1-13, cln_1-1-12, cln_1-1_maintenance-branchpoint, HEAD
Branch point for: cln_1-1
Changes since 1.1: +0 -0 lines
- CLN vanilla release 1.0.3.

1 kreckel 1.1 #include "test_I.h"
2    
3     int test_I_logorc1 (int iterations)
4     {
5     int error = 0;
6     int i;
7     // Check against logior.
8     for (i = iterations; i > 0; i--) {
9     cl_I a = testrandom_I();
10     cl_I b = testrandom_I();
11     ASSERT2(logorc1(a,b) == logior(lognot(a),b), a,b);
12     }
13     return error;
14     }

Christian Bauer">Christian Bauer
ViewVC Help
Powered by ViewVC 1.1.15