Hi Greg,Thanks for your reply. It works for me. However, I am new to unit test and I am curious about how to use a fixture class (a subclass of ::testing::Test) to test my CHouse class.
Would you please tell me that?