Fix issue with massive parallele check

This commit is contained in:
Patrick Pelissier committed 2017-10-25 21:46:54 +02:00
1 parent cefa0ac589
commit a07d71274a
9 files changed
+29 -29

No files matched your search

+2 -2
View File
@@ -192,12 +192,12 @@ static void test_str(void)
for(int i = 0; i < 200; i++)
bitset_push_back(set1, (i*17547854547UL >> 4)&1) ;
FILE *f = fopen ("a.dat", "wt");
FILE *f = fopen ("a-mbitset.dat", "wt");
if (!f) abort();
bitset_out_str(f, set1);
fclose (f);
f = fopen ("a.dat", "rt");
f = fopen ("a-mbitset.dat", "rt");
if (!f) abort();
bool b = bitset_in_str (set2, f);
assert (b == true);