C++面向OOB的Mock测试
发布时间
阅读量:
阅读量
/// @file libtest.h
#ifndef __LIBTEST_H__
#define __LIBTEST_H__
void test_func();
#endif
libtest.c
/// @file libtest.c
#include "libtest.h"
#include <stdio.h>
void test_func() {
printf("test_func\n");
};
test.c
/// @file test.c
#include "libtest.h"
int main() {
test_func();
return 0;
};
wrap.c
全部评论 (0)
还没有任何评论哟~
