摘要: 文档地址: https://learning-pytest.readthedocs.io/zh/latest/doc/test-function/assert.html 阅读全文
posted @ 2020-06-24 20:20 糖糖_彭 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 参考文章地址: https://blog.csdn.net/linhai1028/article/details/81675724 阅读全文
posted @ 2020-06-24 17:29 糖糖_彭 阅读(334) 评论(0) 推荐(0) 编辑
摘要: C++11 中的 override 关键字,可以显式的在派生类中声明,哪些成员函数需要被重写,如果没被重写,则编译器会报错。 参考文章地址: https://www.cnblogs.com/xinxue/p/5471708.html 阅读全文
posted @ 2020-06-24 15:57 糖糖_彭 阅读(332) 评论(0) 推荐(0) 编辑
摘要: 参考文章地址: https://blog.csdn.net/a380880304/article/details/50145495 阅读全文
posted @ 2020-06-24 15:52 糖糖_彭 阅读(245) 评论(0) 推荐(0) 编辑
摘要: sample1 主要针对数字比较测试,其中包含判断素数与数的阶乘两个函数。 sample2 该sample包含一个自己封装的MyString类,主要用于测试string 阅读全文
posted @ 2020-06-24 15:28 糖糖_彭 阅读(151) 评论(0) 推荐(0) 编辑
摘要: gtest测试和模拟框架仓库网址: https://github.com/google/googletest 转载别人文章,网址如下: https://www.iteye.com/blog/ray-leex-212024 Google Test Primer :开始使用Google C++ 测试框架 阅读全文
posted @ 2020-06-24 09:33 糖糖_彭 阅读(1060) 评论(0) 推荐(0) 编辑