FCF_TEST_IMPLEMENTATION macro
Package: fcfTest
File: test.hpp
Available from version: 1.0.1
This macro is used to enable the implementation section within the header file fcfTest/test.hpp.
When this macro is declared, the implementation of functions and methods is declared in the fcfTest/test.hpp file. This macro should be included in only one CPP file for the application that will compile the required functions.
Example:
#define FCF_TEST_IMPLEMENTATION
#include <fcfTest/test.hpp>
FCF_TEST_DECLARE("OurPart", "OurGroup","OurTest"){
int a = 1;
int b = 2;
FCF_TEST(a !=b, a, b);
}
int main(int a_argc, char* a_argv[]){
bool error;
fcf::NTest::cmdRun (a_argc, a_argv, fcf::NTest::CRM_RUN , &error);
return error ? 1 : 0;
}
VPSDime is an industry leading VPS hosting company that provides virtualized server services with high performance, availability and friendly support.