X-Git-Url: https://git.llucax.com/software/mutest.git/blobdiff_plain/6fa3862da83a93a63c025035d8e614eaac4f5cab..d5be024b1cc1a456cd9726d85a7e108e1818ae7f:/sample/factorial_test.c?ds=inline diff --git a/sample/factorial_test.c b/sample/factorial_test.c index 10209e0..8dc56a8 100644 --- a/sample/factorial_test.c +++ b/sample/factorial_test.c @@ -1,7 +1,24 @@ +/* + * 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" +#ifdef MUTEST_PY +#include "../py/mutest.h" +#else +#include "../mutest.h" +#endif + void mu_test_factorial_zero() { unsigned x = factorial(0); mu_check(x == 1);