摘要: 参考文章地址: https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzU3ODYwOTc1OA==&scene=124#wechat_redirect 阅读全文
posted @ 2020-06-29 11:32 糖糖_彭 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 参考地址: https://www.runoob.com/python/python-lists.html 阅读全文
posted @ 2020-06-27 09:34 糖糖_彭 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 参考文章地址: https://www.cnblogs.com/coderzh/archive/2009/04/06/1426755.html 阅读全文
posted @ 2020-06-26 22:26 糖糖_彭 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 注意:直接使用ubuntu18,默认py3。因为老版本都停止支持了,有些源会有问题。我就是从底版本转过来的,太坑了 1:安装pip3 sudo apt-get install python3-pip 2:安装pytest sudo pip3 pytest 阅读全文
posted @ 2020-06-26 18:11 糖糖_彭 阅读(2391) 评论(0) 推荐(0) 编辑
摘要: 文档地址: 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) 编辑