最近刚开始使用gtest,对里面的断言EXPECT_EQ和ASSERT_EQ的区别有疑惑,故记录下来,以备后续查看 TEST(Binary, test){ std::string strPath = "./"; OCROutputItem ocrOutputItem; IOcrPostAlg* p_ocr_post_alg = CreateIOcrPostAlg(); EXPECT_EQ(true, IsCreateSucessAlg(p_ocr_post_alg)) << "The ...