Starting writing Matlab testing framework

This commit is contained in:
hbristow
2013-06-19 15:04:52 +10:00
parent 31415e344f
commit bbece095fb
8 changed files with 137 additions and 13 deletions

View File

@@ -0,0 +1,17 @@
% Matlab binding test cases
% Uses Matlab's builtin testing framework
classdef OpenCVTest < matlab.unittest.TestCase
methods(Test)
% check if the autogenerated functions can be found
function randExists(testcase)
try
cv.rand();
catch
testcase.verifyFail();
end
testcase.verifyTrue(true);
end
end
end