How to mock std::istream? I mean exactly operator >>. My tested object reading two numbers from this stream (std::istream& is a member of this class). How can I test it? How to read this values in test?
std::istream
>>
std::istream&
I use gmock.
Aucun commentaire:
Enregistrer un commentaire