title: Unit testing c++. How to test private members?
body: <p>I would like to make unit tests for my C++ application.</p>
  
  <p>What is the correct form to test private members of a class? Make a friend class which will test the private members, use a derived class, or some other trick?</p>
  
  <p>Which technique does the testing APIs use?</p>