#include <kernel.h>#include <proc.h>#include <stdio.h>

Go to the source code of this file.
Defines | |
| #define | TIMES 5 |
Functions | |
| void | testPass (const char *) |
| void | testFail (const char *) |
| static void | t5 (int times, uchar *testArray, int *index) |
| int | test_recursion (int argc, char **argv) |
| #define TIMES 5 |
Definition at line 21 of file test-hw5.c.
| static void t5 | ( | int | times, | |
| uchar * | testArray, | |||
| int * | index | |||
| ) | [static] |
| int test_recursion | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 27 of file test-hw5.c.
References create(), FALSE, INITSTK, OK, printf, ready(), resched(), t5, testFail(), testPass(), TIMES, and TRUE.
Referenced by testItem().
| void testFail | ( | const char * | ) |
Definition at line 11 of file testhelper.c.
| void testPass | ( | const char * | ) |
Definition at line 6 of file testhelper.c.
1.5.5