Onx

parent 9186bca0
Pipeline #1866 passed with stage
in 1 minute and 9 seconds
...@@ -216,12 +216,8 @@ end % classdef ...@@ -216,12 +216,8 @@ end % classdef
%$ t = zeros(8, 1); %$ t = zeros(8, 1);
%$ %$
%$ try %$ try
%$ [strfile, status] = urlwrite('https://www.dynare.org/Datasets/dseries/dynseries_test_data.m','dynseries_test_data.m'); %$ dseries_src_root = strrep(which('initialize_dseries_class'),'initialize_dseries_class.m','');
%$ if ~status %$ ts = dseries([ dseries_src_root '../tests/data/dynseries_test_data.m' ]);
%$ error()
%$ end
%$ ts = dseries('dynseries_test_data.m');
%$ delete('dynseries_test_data.m');
%$ t(1) = 1; %$ t(1) = 1;
%$ catch %$ catch
%$ t = 0; %$ t = 0;
...@@ -244,12 +240,8 @@ end % classdef ...@@ -244,12 +240,8 @@ end % classdef
%$ t = zeros(8, 1); %$ t = zeros(8, 1);
%$ %$
%$ try %$ try
%$ [strfile, status] = urlwrite('https://www.dynare.org/Datasets/dseries/dynseries_test_data.mat','dynseries_test_data.mat'); %$ dseries_src_root = strrep(which('initialize_dseries_class'),'initialize_dseries_class.m','');
%$ if ~status %$ ts = dseries([ dseries_src_root '../tests/data/dynseries_test_data.mat' ]);
%$ error()
%$ end
%$ ts = dseries('dynseries_test_data.mat');
%$ delete('dynseries_test_data.mat');
%$ t(1) = 1; %$ t(1) = 1;
%$ catch %$ catch
%$ t = 0; %$ t = 0;
...@@ -272,12 +264,8 @@ end % classdef ...@@ -272,12 +264,8 @@ end % classdef
%$ t = zeros(10, 1); %$ t = zeros(10, 1);
%$ %$
%$ try %$ try
%$ [strfile, status] = urlwrite('https://www.dynare.org/Datasets/dseries/dynseries_test_data.csv','dynseries_test_data.csv'); %$ dseries_src_root = strrep(which('initialize_dseries_class'),'initialize_dseries_class.m','');
%$ if ~status %$ ts = dseries([ dseries_src_root '../tests/data/dynseries_test_data.csv' ]);
%$ error()
%$ end
%$ ts = dseries('dynseries_test_data.csv');
%$ delete('dynseries_test_data.csv');
%$ t(1) = 1; %$ t(1) = 1;
%$ catch %$ catch
%$ t = 0; %$ t = 0;
...@@ -375,20 +363,11 @@ end % classdef ...@@ -375,20 +363,11 @@ end % classdef
%@test:9 %@test:9
%$ try %$ try
%$ dseries_src_root = strrep(which('initialize_dseries_class'),'initialize_dseries_class.m','');
%$ if isoctave() %$ if isoctave()
%$ [strfile, status] = urlwrite('https://www.dynare.org/Datasets/dseries/dynseries_test_data-1.xlsx','dynseries_test_data-1.xlsx'); %$ ts = dseries([ dseries_src_root '../tests/data/dynseries_test_data-1.xlsx' ]);
%$ else
%$ [strfile, status] = urlwrite('https://www.dynare.org/Datasets/dseries/dynseries_test_data-1.xls','dynseries_test_data-1.xls');
%$ end
%$ if ~status
%$ error()
%$ end
%$ if isoctave()
%$ ts = dseries('dynseries_test_data-1.xlsx');
%$ delete('dynseries_test_data-1.xlsx');
%$ else %$ else
%$ ts = dseries('dynseries_test_data-1.xls'); %$ ts = dseries([ dseries_src_root '../tests/data/dynseries_test_data-1.xls' ]);
%$ delete('dynseries_test_data-1.xls');
%$ end %$ end
%$ t(1) = 1; %$ t(1) = 1;
%$ catch %$ catch
...@@ -412,20 +391,11 @@ end % classdef ...@@ -412,20 +391,11 @@ end % classdef
%@test:10 %@test:10
%$ try %$ try
%$ dseries_src_root = strrep(which('initialize_dseries_class'),'initialize_dseries_class.m','');
%$ if isoctave() %$ if isoctave()
%$ [strfile, status] = urlwrite('https://www.dynare.org/Datasets/dseries/dynseries_test_data-2.xlsx','dynseries_test_data-2.xlsx'); %$ ts = dseries([ dseries_src_root '../tests/data/dynseries_test_data-2.xlsx' ]);
%$ else %$ else
%$ [strfile, status] = urlwrite('https://www.dynare.org/Datasets/dseries/dynseries_test_data-2.xls','dynseries_test_data-2.xls'); %$ ts = dseries([ dseries_src_root '../tests/data/dynseries_test_data-2.xls' ]);
%$ end
%$ if ~status
%$ error()
%$ end
%$ if isoctave()
%$ ts = dseries('dynseries_test_data-2.xlsx');
%$ delete('dynseries_test_data-2.xlsx');
%$ else
%$ ts = dseries('dynseries_test_data-2.xls');
%$ delete('dynseries_test_data-2.xls');
%$ end %$ end
%$ t(1) = 1; %$ t(1) = 1;
%$ catch %$ catch
...@@ -449,20 +419,11 @@ end % classdef ...@@ -449,20 +419,11 @@ end % classdef
%@test:11 %@test:11
%$ try %$ try
%$ dseries_src_root = strrep(which('initialize_dseries_class'),'initialize_dseries_class.m','');
%$ if isoctave() %$ if isoctave()
%$ [strfile, status] = urlwrite('https://www.dynare.org/Datasets/dseries/dynseries_test_data-3.xlsx','dynseries_test_data-3.xlsx'); %$ ts = dseries([ dseries_src_root '../tests/data/dynseries_test_data-3.xlsx' ]);
%$ else
%$ [strfile, status] = urlwrite('https://www.dynare.org/Datasets/dseries/dynseries_test_data-3.xls','dynseries_test_data-3.xls');
%$ end
%$ if ~status
%$ error()
%$ end
%$ if isoctave()
%$ ts = dseries('dynseries_test_data-3.xlsx');
%$ delete('dynseries_test_data-3.xlsx');
%$ else %$ else
%$ ts = dseries('dynseries_test_data-3.xls'); %$ ts = dseries([ dseries_src_root '../tests/data/dynseries_test_data-3.xls' ]);
%$ delete('dynseries_test_data-3.xls');
%$ end %$ end
%$ t(1) = 1; %$ t(1) = 1;
%$ catch %$ catch
...@@ -486,20 +447,11 @@ end % classdef ...@@ -486,20 +447,11 @@ end % classdef
%@test:12 %@test:12
%$ try %$ try
%$ dseries_src_root = strrep(which('initialize_dseries_class'),'initialize_dseries_class.m','');
%$ if isoctave() %$ if isoctave()
%$ [strfile, status] = urlwrite('https://www.dynare.org/Datasets/dseries/dynseries_test_data-4.xlsx','dynseries_test_data-4.xlsx'); %$ ts = dseries([ dseries_src_root '../tests/data/dynseries_test_data-4.xlsx' ]);
%$ else
%$ [strfile, status] = urlwrite('https://www.dynare.org/Datasets/dseries/dynseries_test_data-4.xls','dynseries_test_data-4.xls');
%$ end
%$ if ~status
%$ error()
%$ end
%$ if isoctave()
%$ ts = dseries('dynseries_test_data-4.xlsx');
%$ delete('dynseries_test_data-4.xlsx');
%$ else %$ else
%$ ts = dseries('dynseries_test_data-4.xls'); %$ ts = dseries([ dseries_src_root '../tests/data/dynseries_test_data-4.xls' ]);
%$ delete('dynseries_test_data-4.xls');
%$ end %$ end
%$ t(1) = 1; %$ t(1) = 1;
%$ catch %$ catch
......
,azert,yuiop,qsdfg,jklm
1990Q1,NaN,456,678,NaN
1990Q2,NaN,458,125,NaN
1990Q3,983,395,109,456
1990Q4,768,377,980,NaN
FREQ__ = 4;
INIT__ = '1994Q3';
NAMES__ = {'azert';'yuiop'};
TEX__ = {'azert';'yuiop'};
azert = randn(100,1);
yuiop = randn(100,1);
\ No newline at end of file
Markdown is supported
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