Public Member Functions | Public Attributes | List of all members
test_matlab_wrapper.TestWrap Class Reference
Inheritance diagram for test_matlab_wrapper.TestWrap:
Inheritance graph
[legend]

Public Member Functions

def compare_and_diff (self, file, actual)
 
def setUp (self)
 
def test_class (self)
 
def test_enum (self)
 
def test_functions (self)
 
def test_geometry (self)
 
def test_inheritance (self)
 
def test_multiple_files (self)
 
def test_namespaces (self)
 
def test_special_cases (self)
 
def test_templates (self)
 

Public Attributes

 INTERFACE_DIR
 
 MATLAB_ACTUAL_DIR
 
 MATLAB_TEST_DIR
 
 TEST_DIR
 

Detailed Description

Test the Matlab wrapper

Definition at line 19 of file test_matlab_wrapper.py.

Member Function Documentation

◆ compare_and_diff()

def test_matlab_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 46 of file test_matlab_wrapper.py.

◆ setUp()

def test_matlab_wrapper.TestWrap.setUp (   self,
  None 
)

Definition at line 24 of file test_matlab_wrapper.py.

◆ test_class()

def test_matlab_wrapper.TestWrap.test_class (   self)
Test interface file with only class info.

Definition at line 114 of file test_matlab_wrapper.py.

◆ test_enum()

def test_matlab_wrapper.TestWrap.test_enum (   self)
Test interface file with only enum info.

Definition at line 144 of file test_matlab_wrapper.py.

◆ test_functions()

def test_matlab_wrapper.TestWrap.test_functions (   self)
Test interface file with function info.

Definition at line 82 of file test_matlab_wrapper.py.

◆ test_geometry()

def test_matlab_wrapper.TestWrap.test_geometry (   self)
Check generation of matlab geometry wrapper.
python3 wrap/matlab_wrapper.py --src wrap/tests/geometry.h
    --module_name geometry --out wrap/tests/actual-matlab

Definition at line 58 of file test_matlab_wrapper.py.

◆ test_inheritance()

def test_matlab_wrapper.TestWrap.test_inheritance (   self)
Test interface file with class inheritance definitions.

Definition at line 191 of file test_matlab_wrapper.py.

◆ test_multiple_files()

def test_matlab_wrapper.TestWrap.test_multiple_files (   self)
Test for when multiple interface files are specified.

Definition at line 271 of file test_matlab_wrapper.py.

◆ test_namespaces()

def test_matlab_wrapper.TestWrap.test_namespaces (   self)
Test interface file with full namespace definition.

Definition at line 214 of file test_matlab_wrapper.py.

◆ test_special_cases()

def test_matlab_wrapper.TestWrap.test_special_cases (   self)
Tests for some unique, non-trivial features.

Definition at line 246 of file test_matlab_wrapper.py.

◆ test_templates()

def test_matlab_wrapper.TestWrap.test_templates (   self)
Test interface file with template info.

Definition at line 170 of file test_matlab_wrapper.py.

Member Data Documentation

◆ INTERFACE_DIR

test_matlab_wrapper.TestWrap.INTERFACE_DIR

Definition at line 29 of file test_matlab_wrapper.py.

◆ MATLAB_ACTUAL_DIR

test_matlab_wrapper.TestWrap.MATLAB_ACTUAL_DIR

Definition at line 31 of file test_matlab_wrapper.py.

◆ MATLAB_TEST_DIR

test_matlab_wrapper.TestWrap.MATLAB_TEST_DIR

Definition at line 30 of file test_matlab_wrapper.py.

◆ TEST_DIR

test_matlab_wrapper.TestWrap.TEST_DIR

Definition at line 28 of file test_matlab_wrapper.py.


The documentation for this class was generated from the following file:


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:31