make/test_memrchr.c@09a73312d5ec
make/test_memrchr.c
Sun, 26 Oct 2025 13:08:42 +0100
- author
- Mike Becker <universe@uap-core.de>
- date
- Sun, 26 Oct 2025 13:08:42 +0100
- changeset 1450
- 09a73312d5ec
- parent 1413
-
c5a225d7228c
- permissions
- -rw-r--r--
add more test coverage for new map functions and fixes some issues
the "what if dst already contains a key" part did not really work
plus the cxMapListDifference() did not fallback to a default allocator
really resolves #746
#include <string.h>
int main() {
const char *r = memrchr("tester", 'e', 6);
return !(r != NULL);
}