2013-04-26 01:37:15 -04:00
|
|
|
|
|
|
|
#define TEST_NAME "sodium_version"
|
|
|
|
#include "cmptest.h"
|
|
|
|
|
2017-02-23 05:24:48 -05:00
|
|
|
int
|
|
|
|
main(void)
|
2013-04-26 01:37:15 -04:00
|
|
|
{
|
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
|
|
|
|
2014-09-14 13:34:16 -04:00
|
|
|
return 0;
|
2013-04-26 01:37:15 -04:00
|
|
|
}
|