Refactor test plugs

This commit is contained in:
2022-06-06 22:07:35 +03:00
parent 4edaea54b3
commit 566de8019e
5 changed files with 83 additions and 48 deletions
+5
View File
@@ -2,11 +2,16 @@
/* Copyright © 2022 Gregory Lirent */
#include <stdio.h>
#include "../../include/extra/vtype.h"
#ifndef LIBCDSB_TESTS_TEST_H
#define LIBCDSB_TESTS_TEST_H
extern void put_separator();
extern void print_container_values_prefix(const char* name, const char* prefix);
extern void print_container_value(const ssize_t* index, const void* value, const vtype type, _Bool print_type);
extern void print_container_info(const char* name, const char* el_name, const vtype* type, ssize_t size, ssize_t nmemb);
extern void test_init(int argc, char** argv);
#endif /* LIBCDSB_TESTS_TEST_H */