9 Feb
2010
9 Feb
'10
6:08 p.m.
In article
Boost.test logs to ostream, which does not have an operator for wstring. Consequently, I cannot test wstring values. How can I fix this?
One alternative is to simply use BOOST_CHECK and the == operator: BOOST_CHECK(obj.get_wstring() == L"Expected"); Lacks the nice output, but it's quite easy.