From 2e59f9740a29439df7c7a56cf0ae83dec3081d31 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Mon, 11 Aug 2014 13:49:21 -0400 Subject: initial import of debian version from mentors --- test/default/sodium_version.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/default/sodium_version.c (limited to 'test/default/sodium_version.c') diff --git a/test/default/sodium_version.c b/test/default/sodium_version.c new file mode 100644 index 0000000..0b63d38 --- /dev/null +++ b/test/default/sodium_version.c @@ -0,0 +1,13 @@ +#include + +#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; +} -- cgit v1.2.3