From ed5e68301eb21ee9ae442adad3c57c17f911da69 Mon Sep 17 00:00:00 2001 From: tTh Date: Sun, 28 Jun 2026 10:38:53 +0200 Subject: [PATCH] nap time NOW --- README.md | 3 ++- doc/edges.md | 3 +++ tbb.c | 9 +++++++-- 3 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 doc/edges.md diff --git a/README.md b/README.md index ff3effc..b208ba2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # | 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 diff --git a/doc/edges.md b/doc/edges.md new file mode 100644 index 0000000..a58b2e3 --- /dev/null +++ b/doc/edges.md @@ -0,0 +1,3 @@ +# Edges + +I can't remember what this thing can make. diff --git a/tbb.c b/tbb.c index 1a5dbb0..1f60974 100644 --- a/tbb.c +++ b/tbb.c @@ -1,7 +1,7 @@ /* * this is rudimentary test for the bubulles manager * - * contact: on IRC freenode#tetalab + * contact: on IRC libera.chat#tetalab */ #include @@ -191,6 +191,11 @@ fprintf(stderr, "***\n*** Bubulles Testing %s %s\n***\n", bubulles_version(0); +if (argc < 2) { /* zero arguments */ + fprintf(stderr, "%s need a command\n", argv[0]); + exit(1); + } + srand(getpid()); /* INIT RANDOM */ #if (0) @@ -202,7 +207,7 @@ fprintf(stderr, "test peek/poke -> %d\n", foo); #endif -foo = essai_des_edges_A(25); +foo = essai_des_edges_A(2500); fprintf(stderr, "test A des edges -> %d\n", foo); foo = essai_des_edges_B(5000); fprintf(stderr, "test B des edges -> %d\n", foo);