1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-28 22:21:15 -07:00
libsodium/test/default/sodium_version.c
2014-09-14 11:32:55 -07:00

13 lines
258 B
C

#define TEST_NAME "sodium_version"
#include "cmptest.h"
int main(void)
{
printf("%d\n", sodium_version_string() != NULL);
printf("%d\n", sodium_library_version_major() > 0);
printf("%d\n", sodium_library_version_minor() >= 0);
return 0;
}