QNLP  v1.0
test_main.cpp File Reference
#include "IntelSimulator.cpp"
#include "catch2/catch.hpp"
#include <fstream>
#include <iostream>
Include dependency graph for test_main.cpp:

Go to the source code of this file.

Macros

#define CATCH_CONFIG_RUNNER
 

Functions

int main (int argc, char *argv[])
 Unit testing main() function. Runs all unit testing using Catch2. More...
 

Macro Definition Documentation

◆ CATCH_CONFIG_RUNNER

#define CATCH_CONFIG_RUNNER

Definition at line 2 of file test_main.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Unit testing main() function. Runs all unit testing using Catch2.

Parameters
argcnumber of command line arguments
argvcommand line arguments separated by spaces
Returns
int Returns 0 upon successful execution

Definition at line 16 of file test_main.cpp.

16  {
17  int result = Catch::Session().run( argc, argv );
18  return result;
19 }