I have a function which receives data as an argument and performs long calculations on it after parsing it. There are many if conditions in the function which deal with local variables of that function.
Friend class, I guess, can take care of private members and not local variables !
How to test if conditions dealing with local variables with gtest?