libcdsb/tests/include/test.h

18 lines
751 B
C
Raw Normal View History

2022-06-02 21:41:06 +03:00
/* This software is licensed by the MIT License, see LICENSE file */
/* Copyright © 2022 Gregory Lirent */
#include <stdio.h>
2022-08-22 12:13:20 +03:00
#include "../../include/vtype.h"
2022-06-02 21:41:06 +03:00
#ifndef LIBCDSB_TESTS_TEST_H
#define LIBCDSB_TESTS_TEST_H
2022-06-09 11:39:19 +03:00
extern void put_separator(unsigned int hpos);
extern void print_container_values_prefix(const char* name, const char* prefix, unsigned int hpos);
extern void print_container_value(const ssize_t* index, const void* value, const vtype type, _Bool print_type, unsigned int hpos);
extern void print_container_info(const char* name, const char* el_name, const vtype* type, ssize_t size, ssize_t nmemb, unsigned int hpos);
2022-06-06 22:07:35 +03:00
2022-06-02 21:41:06 +03:00
extern void test_init(int argc, char** argv);
#endif /* LIBCDSB_TESTS_TEST_H */