File: test_xpath.c

package info (click to toggle)
siridb-server 2.0.53-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,612 kB
  • sloc: ansic: 47,501; python: 6,263; sh: 254; makefile: 149
file content (16 lines) | stat: -rw-r--r-- 251 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "../test.h"
#include <xpath/xpath.h>


int main()
{
    test_start("xpath");

    /* xpath_file_exist */
    {
        _assert (xpath_file_exist("./test.h"));
        _assert (!xpath_file_exist("./test.foo"));
    }

    return test_end();
}