コールバック関数をパラメーターとして受け取る関数の単体テストを作成する方法は?
unsigned __int32
MyStream::DoThis(callBackFunction in_Function,
unsigned __int32 in_Length)
{
//some code
//some code
return readStream->DoThis(in_Function, dataLength);
}
コールバック関数をパラメーターとして受け取る関数の単体テストを作成する方法は?
unsigned __int32
MyStream::DoThis(callBackFunction in_Function,
unsigned __int32 in_Length)
{
//some code
//some code
return readStream->DoThis(in_Function, dataLength);
}