1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #ifndef ULM1_TESTCASE_H
#define ULM1_TESTCASE_H
#include <stdint.h>
#include <stdio.h>
#include <utils/str.h>
struct TestCase;
enum TestCaseCodeBlock
{
TC_INIT,
TC_TEST,
TC_CHECK,
TC_NUM_CODE_BLOCK,
};
struct TestCase *addTestCase();
void appendTestCaseCode(struct TestCase *testCase,
enum TestCaseCodeBlock codeBlock,
const struct Str *code);
void printTestCaseList(FILE *out);
#endif // ULM1_TESTCASE_H
|