From: Mike Lowis Date: Fri, 26 Aug 2016 18:32:54 +0000 (-0400) Subject: minor cleanup of atf.h X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=b2e037f76498ed7a60dfe5a3bbf0909c1be69bcd;p=projs%2Fatf.git minor cleanup of atf.h --- diff --git a/atf.h b/atf.h index fccdd09..b0f07c7 100755 --- a/atf.h +++ b/atf.h @@ -1,25 +1,19 @@ /** - @file atf.h - @brief Aardvark Test Framework main interface file. - $Revision$ - $HeadURL$ + @brief A minimalistic unit testing framework for C. + @author Michael D. Lowis + @license BSD 2-clause License */ -#ifndef TEST_H -#define TEST_H +#ifndef ATF_H +#define ATF_H #include #include extern char* Curr_Test; - void atf_init(int argc, char** argv); - void atf_test_start(char* file, unsigned int line, char* name); - bool atf_test_assert(bool success, char* expr_str, char* file, int line); - void atf_test_fail(char* expr, char* file, int line); - int atf_print_results(void); #define CHECK(expr) \ @@ -128,4 +122,4 @@ int atf_print_results(void) { #undef INCLUDE_DEFS #endif -#endif /* TEST_H */ +#endif /* ATF_H */