update c++ private_test.cpp