0001 classdef dsUnitTest_checkModel < matlab.unittest.TestCase 0002 properties 0003 unitTestDataPath = dsGetConfig('ds_unitTestData_path'); 0004 end 0005 0006 methods (Test, TestTags = {'core'}) 0007 function testCellIn(testCase) 0008 argin = {{'s=10; r=27; b=2.666';'dx/dt=s*(y-x)';'dy/dt=r*x-y-x*z';'dz/dt=-b*z+x*y'}}; 0009 expectedOut = load(fullfile(testCase.unitTestDataPath,'checkModel_testCellIn')); 0010 expectedOut = expectedOut.model; 0011 0012 testCase.verifyEqual(expectedOut, dsCheckModel(argin{:}) ); 0013 end 0014 end 0015 0016 end