接著我們需要使用巨集TEST_P來編寫相應的測試程式碼:. TEST_P(IsPrimeParamTest, Negative) { int n = GetParam(); EXPECT_FALSE(IsPrime(n)); }.
確定! 回上一頁