summaryrefslogtreecommitdiff
path: root/tests/lib.c
Commit message (Collapse)AuthorAge
* all: Consider types and numerical limitsAndrew Opalach 2025-01-17
| | | | | | | | | | - Vastly improve tests. - Change array/str/wstr APIs. - Use ptrdiff_t instead of size_t in ring buffer. - Make random seed thread-local. - Log now uses a static thread-local buffer instead of a malloc'd buffer. Signed-off-by: Andrew Opalach <andrew@akon.city>
* array: Add offset() to address the data pointerAndrew Opalach 2025-01-01
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* all: Cleanup macro usageAndrew Opalach 2024-11-26
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* atomic: Rely on wrapping for al_inc_u16()Andrew Opalach 2024-10-05
| | | | Signed-off-by: Andrew Opalach <andrew@akon.city>
* lib: Cleanup and add testsAndrew Opalach 2024-10-04
Signed-off-by: Andrew Opalach <andrew@akon.city>