Update test_main.cpp

use EXPECT_FLOAT_EQ to make sure "make test" passed