Commit 8507c27f authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Removed display of current path in last unitary test.

parent 3606cbc8
function tex = name2tex(name, info) % --*-- Unitary tests --*-- function tex = name2tex(name, info) % --*-- Unitary tests --*--
% Converts plain text name into tex name. % Converts plain text name into tex name.
% Copyright (C) 2013 Dynare Team % Copyright (C) 2013 Dynare Team
% %
% This file is part of Dynare. % This file is part of Dynare.
...@@ -64,7 +64,7 @@ if info ...@@ -64,7 +64,7 @@ if info
if gotonextcondition && ndx>2 if gotonextcondition && ndx>2
if idx(end)<ntx if idx(end)<ntx
texname = [ texname(1:idx(end)-2) '_{' texname(idx(end)+1:end) '}' ]; texname = [ texname(1:idx(end)-2) '_{' texname(idx(end)+1:end) '}' ];
else else
texname = [ texname(1:idx(end-1)-2) '_{' texname(idx(end-1)+1:end) '}' ]; texname = [ texname(1:idx(end-1)-2) '_{' texname(idx(end-1)+1:end) '}' ];
end end
end end
...@@ -93,9 +93,9 @@ end ...@@ -93,9 +93,9 @@ end
%$ t14 = name2tex('azert_uiop',1); %$ t14 = name2tex('azert_uiop',1);
%$ t15 = name2tex('azert_uiop_qsdfg',1); %$ t15 = name2tex('azert_uiop_qsdfg',1);
%$ t16 = name2tex('azert_uiop_qsdfg_',1); %$ t16 = name2tex('azert_uiop_qsdfg_',1);
%$ t17 = name2tex('_azert_uiop_qsdfg',1); %$ t17 = name2tex('_azert_uiop_qsdfg',1);
%$ t18 = name2tex('_azert_uiop_qsdfg_',1); %$ t18 = name2tex('_azert_uiop_qsdfg_',1);
%$ %$
%$ t(1) = dyn_assert(strcmp(t1,'\\_azert'),1); %$ t(1) = dyn_assert(strcmp(t1,'\\_azert'),1);
%$ t(2) = dyn_assert(strcmp(t2,'azert\\_'),1); %$ t(2) = dyn_assert(strcmp(t2,'azert\\_'),1);
%$ t(3) = dyn_assert(strcmp(t3,'\\_azert\\_'),1); %$ t(3) = dyn_assert(strcmp(t3,'\\_azert\\_'),1);
...@@ -106,7 +106,7 @@ end ...@@ -106,7 +106,7 @@ end
%$ t(8) = dyn_assert(strcmp(t8,'\\_azert\\_uiop\\_qsdfg\\_'),1); %$ t(8) = dyn_assert(strcmp(t8,'\\_azert\\_uiop\\_qsdfg\\_'),1);
%$ t(9) = dyn_assert(strcmp(t11,'\\_azert'),1); %$ t(9) = dyn_assert(strcmp(t11,'\\_azert'),1);
%$ t(10) = dyn_assert(strcmp(t12,'azert\\_'),1); %$ t(10) = dyn_assert(strcmp(t12,'azert\\_'),1);
%$ t(11) = dyn_assert(strcmp(t13,'\\_azert\\_'),1); %$ t(11) = dyn_assert(strcmp(t13,'\\_azert\\_'),1);
%$ t(12) = dyn_assert(strcmp(t14,'azert_{uiop}'),1); %$ t(12) = dyn_assert(strcmp(t14,'azert_{uiop}'),1);
%$ t(13) = dyn_assert(strcmp(t15,'azert\\_uiop_{qsdfg}'),1); %$ t(13) = dyn_assert(strcmp(t15,'azert\\_uiop_{qsdfg}'),1);
%$ t(14) = dyn_assert(strcmp(t16,'azert\\_uiop_{qsdfg\\_}'),1); %$ t(14) = dyn_assert(strcmp(t16,'azert\\_uiop_{qsdfg\\_}'),1);
...@@ -185,7 +185,6 @@ end ...@@ -185,7 +185,6 @@ end
%@eof:3 %@eof:3
%@test:4 %@test:4
%$ pwd
%$ try %$ try
%$ db = dseries('csv/dd.csv'); %$ db = dseries('csv/dd.csv');
%$ t(1) = 1; %$ t(1) = 1;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment