摘要:
【Protoc】VS2019 (VS平台) 使用 CMake 编译安装、使用 Protobuf 库 本文介绍在 macOS 系统下 cmake 和 protobuf 一起使用的一种方式——使用 cmake 自动编译 proto 文件为 pb.cc 和 pb.h 文件。 protobuf protob 阅读全文
posted @ 2023-11-22 14:19
RioTian
阅读(1397)
评论(0)
推荐(0)
摘要:
“Move semantics allows us to optimize the copying of objects, where we no longer need the value. It can be used implicitly (for unnamed temporary obje 阅读全文
posted @ 2023-11-22 13:28
RioTian
阅读(259)
评论(0)
推荐(0)

Unit Test 和 gtest 介绍 单元测试( Unit Test ,模块测试)是开发者编写的一小段代码,用于检验被测代码的一个很小的、很明确的功能是否正确,通过编写单元测试可以在编码阶段发现程序编码错误,甚至是程序设计错误。 单元测试不但可以增加开发者对于所完成代码的自信,同时,好的单元测试
浙公网安备 33010602011771号