开发者

Testing custom standard compliant containers

开发者 https://www.devze.com 2023-04-07 04:47 出处:网络
I am making custom versions of the standard containers (many reasons, the main one being educational). The containers have the same interface as the standard containers. Now I want to test the contain

I am making custom versions of the standard containers (many reasons, the main one being educational). The containers have the same interface as the standard containers. Now I want to test the containers properly. Is there perchance tests written for the standard library that can potentially be us开发者_高级运维ed on any standard compliant container to make sure the containers are working as they should?

I am currently writing my own tests and going with some examples found on www.cplusplus.com but they are definitely not exhaustive.


Yeah, take a look in libstdc++ and libc++. You should find something there.

0

精彩评论

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