20 lines
428 B
C
20 lines
428 B
C
#include <stdio.h>
|
|
#include "../nostr_core/nip001.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;
|
|
}
|