摘要: 认识gtest工具后,关于它的使用,下面将用一个demo程序演示一下gtest的用法以及成果展示。一、需要测试的C++代码:#include "myfunction.h"//计算和的函数int add(int a, int b){ int c = a + b; return c;}//计... 阅读全文
posted @ 2015-03-12 11:06 Peisy 阅读(1770) 评论(0) 推荐(0) 编辑