diff options
Diffstat (limited to 'tests/include')
| -rw-r--r-- | tests/include/dbg.h | 12 | ||||
| -rw-r--r-- | tests/include/minunit.h | 13 |
2 files changed, 25 insertions, 0 deletions
diff --git a/tests/include/dbg.h b/tests/include/dbg.h index 0401ea1..71137ba 100644 --- a/tests/include/dbg.h +++ b/tests/include/dbg.h @@ -1,3 +1,15 @@ +/** + * @file dbg.h + * @brief Debug macros for the minunit framework + * @author Zed Shaw + * + * @details + * These debug macros come from Zed Shaw's book Learn C The Hard Way, and are + * used for the testing framework of GenSVM. + * + * @sa minunit.h + */ + #ifndef __dbg_h__ #define __dbg_h__ diff --git a/tests/include/minunit.h b/tests/include/minunit.h index 0fe8898..9e2328f 100644 --- a/tests/include/minunit.h +++ b/tests/include/minunit.h @@ -1,3 +1,16 @@ +/** + * @file minunit.h + * @brief Minimal unit testing framework for C + * @author Zed Shaw + * + * @details + * This unit testing framework comes from Zed Shaw's book Learn C The Hard + * Way, and are evolved from the "minunit" code snippets by Jera Design. I've + * added a mu_test_missing() macro to deal with missing unit tests. + * + * @sa dbg.h + */ + #undef NDEBUG #ifndef _minunit_h #define _minunit_h |
