Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私はC++とさらに多くのCPPUnitに少し慣れていません。誰かが配列値をアサートするために何を使用すべきか教えてもらえますか(期待値と比較してください)。memcmpを使用する必要がありますか、それともCPPUnit、C ++全般、またはその他のライブラリに優れたものがありますか?
最新のC++では、データの範囲が等しいかどうかをstd::equalと比較します。