title: how to use EXPECT_EQ for user defined type
body: <p>I wanted to test a function which returns some user defined type value. I knew that I can test basic int, float, double etc with <code>EXPECT_EQ</code>, <code>EXPECT_FLOAT_EQ</code> etc but not for user defined type. any clue?</p>