/* SPDX-License-Identifier: LGPL-2.1-only */ /* * The Rin Library – library "conformance" tests * * Copyright (C) 2015-2017 Gediminas Jakutis */ #ifndef LIBRIN_TEST_INCLUDED #define LIBRIN_TEST_INCLUDED #include #include #include #include /* TODO: move to a shared util header */ #define arrlen(a) (sizeof(a)/sizeof(a[0])) struct section { char *name; int (*testfunc)(char*); }; struct test { char *name; int (*testfunc)(void); }; int ok(const unsigned int test, const char *format, ...); #endif /* LIBRIN_TEST_INCLUDED */