X-Git-Url: https://git.llucax.com/software/mutest.git/blobdiff_plain/6fa3862da83a93a63c025035d8e614eaac4f5cab..78f2a6de06b783f76d3857bb31ba2ed9f1b76ba6:/sample/factorial_test.c?ds=sidebyside diff --git a/sample/factorial_test.c b/sample/factorial_test.c index 10209e0..5e8c7f2 100644 --- a/sample/factorial_test.c +++ b/sample/factorial_test.c @@ -1,7 +1,20 @@ +/* + * This file is part of mutest, a simple micro unit testing framework for C. + * + * mutest was written by Leandro Lucarella and is released + * under the BOLA license, please see the LICENSE file or visit: + * http://blitiri.com.ar/p/bola/ + * + * This is the factorial module test suite. Each (public) function starting + * with mu_test will be picked up by mkmutest as a test case. + * + * Please, read the README file for more details. + */ -#include "../mutest.h" #include "factorial.h" +#include "../mutest.h" + void mu_test_factorial_zero() { unsigned x = factorial(0); mu_check(x == 1);