mirror of
https://github.com/reactos/CMake.git
synced 2025-02-01 09:35:03 +00:00
160499296c
Also allowing a way to select which of multiple installed MATLAB versions to use in the test.
21 lines
428 B
Matlab
21 lines
428 B
Matlab
|
|
classdef cmake_matlab_unit_tests5 < matlab.unittest.TestCase
|
|
% C++ API test
|
|
properties
|
|
end
|
|
|
|
methods (Test)
|
|
function testDummyCall(testCase)
|
|
% very simple call test
|
|
disp('TESTING C++')
|
|
ret = cmake_matlab_mex3(162);
|
|
testCase.verifyEqual(ret, 162);
|
|
end
|
|
|
|
function testFailTest(testCase)
|
|
testCase.verifyError(@() cmake_matlab_mex3, 'MATLAB:mex:CppMexException');
|
|
end
|
|
|
|
end
|
|
end
|