]> git.llucax.com Git - software/mutest.git/blob - sample/factorial.c
Implement test suite initialization and termination
[software/mutest.git] / sample / factorial.c
1
2 unsigned factorial(unsigned x) {
3         if (x <= 1)
4                 return 1;
5         return x * factorial(x-1);
6 }
7