From bfb5421182548cc5e0524c03eb8e106a13b29eb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Fri, 18 Oct 2013 22:58:47 +0200 Subject: [PATCH] Removed useless routine. --- tests/internals/tests.m | 53 ----------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 tests/internals/tests.m diff --git a/tests/internals/tests.m b/tests/internals/tests.m deleted file mode 100644 index 14b3a778c..000000000 --- a/tests/internals/tests.m +++ /dev/null @@ -1,53 +0,0 @@ -% matlab script for testing matlab routines. - -% Copyright (C) 2011-2012 Dynare Team -% -% This file is part of Dynare. -% -% Dynare is free software: you can redistribute it and/or modify -% it under the terms of the GNU General Public License as published by -% the Free Software Foundation, either version 3 of the License, or -% (at your option) any later version. -% -% Dynare is distributed in the hope that it will be useful, -% but WITHOUT ANY WARRANTY; without even the implied warranty of -% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -% GNU General Public License for more details. -% -% You should have received a copy of the GNU General Public License -% along with Dynare. If not, see . - -% Original author: stephane DOT adjemian AT univ DASH lemans DOT fr - -list_of_routines = cell(1); - -list_of_routines(1,1) = {'../../matlab/@dynSeries'}; % path -list_of_routines(1,2) = {'dynSeries'}; % name - -% list_of_routines = [list_of_routines ; { '../../matlab/kalman/likelihood' , 'kalman_filter' } ]; - - - -% Temporarely add ../matlab/utilities/tests to the path. -addpath('../../matlab/utilities/tests') - -% Copy output to a file. -dirlog = datestr(now, 'dddd-mmm-yy'); -if ~exist(dirlog) - mkdir(dirlog); -end -diary([dirlog '/errors.log']) - -% Run tests. -n = size(list_of_routines,1); -c = zeros(n,1); - -for i=1:n - c(i) = mtest(list_of_routines{1,2},list_of_routines{1,1}); -end - -if all(c) - disp('Nothing to report!') -end - -diary off