nap time NOW

This commit is contained in:
tTh
2026-06-28 10:38:53 +02:00
parent 5eaa64a664
commit ed5e68301e
3 changed files with 12 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
# | lib bubulles | # | lib bubulles |
Looking at the Makefile is a good idea. Looking at the [Makefile](./Makefile) is a good idea, and reading
the *non-existant* [doc](./doc/) was a non-sense.
for compiling on FreeBSD : $ gmake CC=clang tbb for compiling on FreeBSD : $ gmake CC=clang tbb

3
doc/edges.md Normal file
View File

@@ -0,0 +1,3 @@
# Edges
I can't remember what this thing can make.

9
tbb.c
View File

@@ -1,7 +1,7 @@
/* /*
* this is rudimentary test for the bubulles manager * this is rudimentary test for the bubulles manager
* *
* contact: <tth> on IRC freenode#tetalab * contact: <tTh> on IRC libera.chat#tetalab
*/ */
#include <stdio.h> #include <stdio.h>
@@ -191,6 +191,11 @@ fprintf(stderr, "***\n*** Bubulles Testing %s %s\n***\n",
bubulles_version(0); bubulles_version(0);
if (argc < 2) { /* zero arguments */
fprintf(stderr, "%s need a command\n", argv[0]);
exit(1);
}
srand(getpid()); /* INIT RANDOM */ srand(getpid()); /* INIT RANDOM */
#if (0) #if (0)
@@ -202,7 +207,7 @@ fprintf(stderr, "test peek/poke -> %d\n", foo);
#endif #endif
foo = essai_des_edges_A(25); foo = essai_des_edges_A(2500);
fprintf(stderr, "test A des edges -> %d\n", foo); fprintf(stderr, "test A des edges -> %d\n", foo);
foo = essai_des_edges_B(5000); foo = essai_des_edges_B(5000);
fprintf(stderr, "test B des edges -> %d\n", foo); fprintf(stderr, "test B des edges -> %d\n", foo);