First commit on a late git install

This commit is contained in:
2025-08-09 10:23:28 -04:00
commit ca6b4754f9
88 changed files with 18219 additions and 0 deletions

19
tests/simple_init_test.c Normal file
View File

@@ -0,0 +1,19 @@
#include <stdio.h>
#include "../nostr_core/nostr_core.h"
int main(void) {
printf("Testing basic library initialization...\n");
int result = nostr_init();
if (result != NOSTR_SUCCESS) {
printf("FAILED: nostr_init() returned %d\n", result);
return 1;
}
printf("SUCCESS: Library initialized\n");
nostr_cleanup();
printf("SUCCESS: Library cleaned up\n");
return 0;
}