Does anyone know where I can find unit tests that will test std::map
?
The reason I ask is because I have written a class that acts as a replacment for std::map
and has virtually all the same functionality, so unit tests for std::map
will be suitable for my class, too.
Of course, I can write my own, but if someone has already written extensive tests for this then that would save me a lot of time and would hopefully cover things that I might have missed.
Thanks.
While i don't know how much is needed to use them stand-alone, you could take a look at libstdc++' testsuite.
Try to find it in open source library implementations like:
libstdc++ libc++
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With