Test the Matlab wrapper
Definition at line 23 of file test_matlab_wrapper.py.
def test_matlab_wrapper.TestWrap.compare_and_diff |
( |
|
self, |
|
|
|
file |
|
) |
| |
Compute the comparison between the expected and actual file,
and assert if diff is zero.
Definition at line 95 of file test_matlab_wrapper.py.
def test_matlab_wrapper.TestWrap.generate_content |
( |
|
self, |
|
|
|
cc_content, |
|
|
|
path = MATLAB_ACTUAL_DIR |
|
) |
| |
Generate files and folders from matlab wrapper content.
Keyword arguments:
cc_content -- the content to generate formatted as
(file_name, file_content) or
(folder_name, [(file_name, file_content)])
path -- the path to the files parent folder within the main folder
Definition at line 39 of file test_matlab_wrapper.py.
def test_matlab_wrapper.TestWrap.test_class |
( |
|
self | ) |
|
def test_matlab_wrapper.TestWrap.test_functions |
( |
|
self | ) |
|
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 108 of file test_matlab_wrapper.py.
def test_matlab_wrapper.TestWrap.test_inheritance |
( |
|
self | ) |
|
def test_matlab_wrapper.TestWrap.test_namspaces |
( |
|
self | ) |
|
def test_matlab_wrapper.TestWrap.test_special_cases |
( |
|
self | ) |
|
test_matlab_wrapper.TestWrap.exist_ok |
|
static |
test_matlab_wrapper.TestWrap.format |
|
static |
test_matlab_wrapper.TestWrap.INTERFACE_DIR = osp.join(TEST_DIR, "fixtures") |
|
static |
test_matlab_wrapper.TestWrap.level |
|
static |
test_matlab_wrapper.TestWrap.MATLAB_ACTUAL_DIR = osp.join(TEST_DIR, "actual", "matlab") |
|
static |
test_matlab_wrapper.TestWrap.MATLAB_TEST_DIR = osp.join(TEST_DIR, "expected", "matlab") |
|
static |
test_matlab_wrapper.TestWrap.stderr |
|
static |
test_matlab_wrapper.TestWrap.TEST_DIR = osp.dirname(osp.realpath(__file__)) |
|
static |
The documentation for this class was generated from the following file: