just rewrite the main.cpp which used as unitest.cpp