重构代码的架构设计,增加测试单元,提高代码可靠性
This commit is contained in:
10
tests/tests_smoke.c
Normal file
10
tests/tests_smoke.c
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "test_common.h"
|
||||
|
||||
int main(void)
|
||||
{
|
||||
ASSERT_TRUE(1);
|
||||
ASSERT_EQ_INT(4, 2 + 2);
|
||||
ASSERT_EQ_U32(0x12345678, 0x12345678);
|
||||
ASSERT_STREQ("Hello, World!", "Hello, World!");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user