I am trying to write unittest for a program which does this _setmode( _fileno( stdin ), _O_BINARY ) and for stdout as well. when i try to execute this function ( using micrasoft UnitTest framework in visual studio). setmode function always fails and returns -1. can we do something in MS unittest framework?
Aucun commentaire:
Enregistrer un commentaire