摘要:
CppUnit提供了多种验证成功失败的方式: CPPUNIT_ASSERT(condition) //确信conditio为真 CPPUNIT_ASSERT_MESSAGE(message,condition)//当condition为假时失败,并打印message CPPUNIT_FAIL(message)//当前测试失败,并打印message CPPUNIT_ASSERT_EQUAL(expe... 阅读全文
posted @ 2008-05-21 17:05
limx
阅读(219)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2008-05-21 17:04
limx
阅读(166)
评论(0)
推荐(0)
摘要:
目的: 基本掌握了 make 的用法,能在Linux系统上编程。环境: Linux系统,或者有一台Linux服务器,通过终端连接。一句话:有Linux编译环境。准备: 准备三个文件:file1.c, file2.c, file2.h file1.c: #include <stdio.h> #include "file2.h" int main() { printf("print fil... 阅读全文
posted @ 2008-05-21 17:03
limx
阅读(356)
评论(0)
推荐(0)

浙公网安备 33010602011771号