FCF_TEST_IMPORT macro
Package: fcfTest
File: test.hpp
Available from version: 1.0.1
This macro is declared when importing fcfTest functions from a shared library (if you built fcfTest in a separate library) to inform the compiler that the functions should be imported.
It's best to declare this macro in the settings for CMake, Visual Studio, and other build systems.
Example: Connecting an fcfTest from an external shared library.
#define FCF_TEST_IMPORT
#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.