Mercurial > repos > public > sbplib
view runtestsAll.m @ 362:ded4156e53e2
Added 2nd order accurate 2nd derivative with variable coefficents in a separate implementation file, used by the class D2Variable.
author | Martin Almquist <martin.almquist@it.uu.se> |
---|---|
date | Tue, 20 Dec 2016 15:04:02 +0100 |
parents | 344bde2f9d9b |
children | cd571e8ec1fd |
line wrap: on
line source
function res = runtestsAll() l = dir(); dirNames = {l([l.isdir]).name}; packages = {}; for i = 1:length(dirNames) if dirNames{i}(1) == '+' packages{end+1} = dirNames{i}(2:end); end end rootSuite = matlab.unittest.TestSuite.fromFolder(pwd); packageSuites = {}; for i = 1:length(packages) packageSuites{i} = matlab.unittest.TestSuite.fromPackage(packages{i}); end ts = [rootSuite, packageSuites{:}]; res = ts.run(); end