Tests for Python wrapper based on Pybind11.
 
Definition at line 24 of file test_pybind_wrapper.py.
◆ compare_and_diff()
      
        
          | def test_pybind_wrapper.TestWrap.compare_and_diff | ( |  | self, | 
        
          |  |  |  | file, | 
        
          |  |  |  | actual | 
        
          |  | ) |  |  | 
      
 
Compute the comparison between the expected and actual file,
and assert if diff is zero.
 
Definition at line 63 of file test_pybind_wrapper.py.
 
 
◆ test_class()
      
        
          | def test_pybind_wrapper.TestWrap.test_class | ( |  | self | ) |  | 
      
 
 
◆ test_enum()
      
        
          | def test_pybind_wrapper.TestWrap.test_enum | ( |  | self | ) |  | 
      
 
 
◆ test_functions()
      
        
          | def test_pybind_wrapper.TestWrap.test_functions | ( |  | self | ) |  | 
      
 
 
◆ test_geometry()
      
        
          | def test_pybind_wrapper.TestWrap.test_geometry | ( |  | self | ) |  | 
      
 
Check generation of python geometry wrapper.
python3 ../pybind_wrapper.py --src geometry.h --module_name
    geometry_py --out output/geometry_py.cc
 
Definition at line 75 of file test_pybind_wrapper.py.
 
 
◆ test_inheritance()
      
        
          | def test_pybind_wrapper.TestWrap.test_inheritance | ( |  | self | ) |  | 
      
 
 
◆ test_namespaces()
      
        
          | def test_pybind_wrapper.TestWrap.test_namespaces | ( |  | self | ) |  | 
      
 
Check generation of python wrapper for full namespace definition.
python3 ../pybind_wrapper.py --src namespaces.i --module_name
    namespaces_py --out output/namespaces_py.cpp
 
Definition at line 121 of file test_pybind_wrapper.py.
 
 
◆ test_operator_overload()
      
        
          | def test_pybind_wrapper.TestWrap.test_operator_overload | ( |  | self | ) |  | 
      
 
 
◆ test_special_cases()
      
        
          | def test_pybind_wrapper.TestWrap.test_special_cases | ( |  | self | ) |  | 
      
 
 
◆ test_templates()
      
        
          | def test_pybind_wrapper.TestWrap.test_templates | ( |  | self | ) |  | 
      
 
 
◆ wrap_content()
      
        
          | def test_pybind_wrapper.TestWrap.wrap_content | ( |  | self, | 
        
          |  |  |  | sources, | 
        
          |  |  |  | module_name, | 
        
          |  |  |  | output_dir, | 
        
          |  |  |  | use_boost_serialization = False | 
        
          |  | ) |  |  | 
      
 
 
◆ exist_ok
  
  | 
        
          | test_pybind_wrapper.TestWrap.exist_ok |  | static | 
 
 
◆ INTERFACE_DIR
  
  | 
        
          | test_pybind_wrapper.TestWrap.INTERFACE_DIR |  | static | 
 
 
◆ PYTHON_ACTUAL_DIR
  
  | 
        
          | test_pybind_wrapper.TestWrap.PYTHON_ACTUAL_DIR |  | static | 
 
 
◆ PYTHON_TEST_DIR
  
  | 
        
          | test_pybind_wrapper.TestWrap.PYTHON_TEST_DIR |  | static | 
 
 
◆ TEST_DIR
  
  | 
        
          | test_pybind_wrapper.TestWrap.TEST_DIR |  | static | 
 
 
The documentation for this class was generated from the following file: