libsodium/test/default/sodium_version.c

13 lines
253 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)
{
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;
}