cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
python_objects.cc File Reference
+ Include dependency graph for python_objects.cc:

Go to the source code of this file.

Macros

#define TEST_TYPE(type, object)
 

Functions

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

Macro Definition Documentation

◆ TEST_TYPE

#define TEST_TYPE (   type,
  object 
)
Value:
{ \
auto py_obj = cepgen::python::ObjectPtr::make(object); \
auto ret = py_obj.value<type>(); \
CG_TEST_EQUAL(ret, object, std::string(#object)); \
}
static ObjectPtr make(const T &)
Build a new Python object from a C++ one.

Definition at line 28 of file python_objects.cc.

Function Documentation

◆ main()

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

Definition at line 35 of file python_objects.cc.