libsodium/test/default/sodium_version.c

13 lines
258 B
C
Raw Normal View History

2013-04-26 01:37:15 -04:00
#define TEST_NAME "sodium_version"
#include "cmptest.h"
int main(void)
{
2014-09-14 14:32:55 -04:00
printf("%d\n", sodium_version_string() != NULL);
printf("%d\n", sodium_library_version_major() > 0);
printf("%d\n", sodium_library_version_minor() >= 0);
2013-04-26 01:37:15 -04:00
return 0;
2013-04-26 01:37:15 -04:00
}