File: version_t.c

package info (click to toggle)
python-maxminddb 3.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,600 kB
  • sloc: ansic: 7,565; python: 1,711; perl: 987; makefile: 273; sh: 190
file content (9 lines) | stat: -rw-r--r-- 256 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
#include "maxminddb_test_helper.h"

int main(void) {
    const char *version = MMDB_lib_version();
    if (ok((version != NULL), "MMDB_lib_version exists")) {
        is(version, PACKAGE_VERSION, "version is " PACKAGE_VERSION);
    }
    done_testing();
}