Home > User Support > QTE
yquestionz
How can I test a function developed in C with GoogleTest?
yAnswerz
When testing C functions, it is necessary to declare that the function under test is a C functio
When reading the header file to be tested from the GoogleTest test driver source file, write the following.
extern "C" {
#include "xxxx.h"
}
yGoogle Search in Support Information Sitez
search keywordF@installer | ISO26262