开发者

CPPUnit array assert

开发者 https://www.devze.com 2023-01-29 07:28 出处:网络
I\'m kinda new to C++ and even more CPPUnit. Can开发者_开发百科 somebody tell me what should I use to assert for array values (compare them to expected). Should I use memcmp or is there something bett

I'm kinda new to C++ and even more CPPUnit. Can开发者_开发百科 somebody tell me what should I use to assert for array values (compare them to expected). Should I use memcmp or is there something better in CPPUnit, C++ in general or any other library?


In modern C++, we compare ranges of data for equality with std::equal.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号