You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CountrySideEngineer edited this page Dec 3, 2022
·
2 revisions
void test_function()
This page describes the test driver code to test the method like void test_function().
(A method with no return and argument.)
test driver code.
The test driver code in source file is like below:
TEST_F(test_function, test_function_001)
{
/* * Set stub output values if the test_function() has sub function. */test_function(); // Call test target function./* * Check the result of target function execution with "ASSERT_EQ" macro of googletest. */
}