You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1626 lines
32 KiB

25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
25 years ago
17 years agoHTTP/1.1 200 OK Content-Type: text/html; charset=UTF-8 Set-Cookie: i_like_gitea=2d733ad77e719bb1; Path=/; HttpOnly; SameSite=Lax Set-Cookie: _csrf=FOTBOcZz33A7pPXcywlrVcHq0ck6MTczNDk5OTIwOTM5MDUxMDEzOA; Path=/; Expires=Wed, 25 Dec 2024 00:13:29 GMT; HttpOnly; SameSite=Lax Set-Cookie: macaron_flash=; Path=/; Max-Age=0; HttpOnly; SameSite=Lax X-Frame-Options: SAMEORIGIN Date: Tue, 24 Dec 2024 00:13:29 GMT Transfer-Encoding: chunked 8fc1 sp/cln_mirror - tests/test_I_logorc2.cc at 57023a0ee9fed57b5ee857b301be262984000944 - cln_mirror - Gitea: Git with a cup of tea
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

14 lines
272 B

#include "test_I.h"
int test_I_logorc2 (int iterations)
{
int error = 0;
int i;
// Check against logior.
for (i = iterations; i > 0; i--) {
cl_I a = testrandom_I();
cl_I b = testrandom_I();
ASSERT2(logorc2(a,b) == logior(a,lognot(b)), a,b);
}
return error;
}
0