Update test_main.cpp

use EXPECT_FLOAT_EQ to make sure "make test" passed
Merge pull request #8 from jetliao0909/patch-1

use EXPECT_FLOAT_EQ to make sure "make test" passed