#[Preparation]
gtest and gmock has been installed.

[build]
1 cd the root directory
2 mkdir build
3 cd build;cmake ../
4 make