开发者

Testing custom standard compliant containers

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜