File: test_version.c

package info (click to toggle)
libcleri 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 560 kB
  • sloc: ansic: 4,572; makefile: 51; sh: 40
file content (19 lines) | stat: -rw-r--r-- 262 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "../test.h"
#include <cleri/version.h>

static int test_version(void)
{
    test_start("version");

    _assert ( strcmp(cleri_version(), "1.0.2") == 0 );

    return test_end();
}

int main()
{
    return (
        test_version() ||
        0
    );
}