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);
|
2014-05-09 00:32:36 -04:00
|
|
|
printf ("%d\n", sodium_library_version_minor() >= 0);
|
2013-04-26 01:37:15 -04:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|