diff options
author | Charlie Stanton <charlie@shtanton.xyz> | 2021-10-03 21:31:59 +0100 |
---|---|---|
committer | Charlie Stanton <charlie@shtanton.xyz> | 2021-10-03 21:31:59 +0100 |
commit | d973b4b8eaaa5e7f1d10f9f02069c6d7bde25dcc (patch) | |
tree | 814987a1977dc62251fc05a1a76526d2479722dd /test.c | |
parent | 69852d9ae210080e999eb5bbb81481f527580a97 (diff) | |
download | cudl-d973b4b8eaaa5e7f1d10f9f02069c6d7bde25dcc.tar |
Add testing code and fix a few bugs
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,2 +1,11 @@ +#include <stdio.h> +#include "cudl.h" + int main() { + struct cudl_value value; + cudl_parse_from_file(stdin, &value); + if (cudl_err) + return cudl_err; + cudl_debug(value); + return 0; } |