CPPUnit Array Approval

I am a little new to C ++ and even more CPPUnit. Can someone tell me what I should use for approval for array values ​​(compare them with expected ones). Should I use memcmp or is there something better in CPPUnit, C ++ in general, or in any other library?

+3
source share
1 answer

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

+4
source

Source: https://habr.com/ru/post/1778808/


All Articles