summaryrefslogtreecommitdiff
path: root/test/default/sodium_version.c
blob: 0b63d38e66e708c8805fc8dc796653b6c0a3ac6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>

#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;
}