Answer the question
In order to leave comments, you need to log in
How to write test for callback function?
I'm writing a wrapper for a library in C. One of the exported functions takes a pointer to a callback function as an argument. I implemented it through a delegate. But how do you write a unit test for such an exported function?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question