Fixed paths in unit tests.

parent e232e940
...@@ -51,7 +51,7 @@ p = varargin{2}; ...@@ -51,7 +51,7 @@ p = varargin{2};
%@test:1 %@test:1
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ try %$ try
...@@ -67,7 +67,7 @@ p = varargin{2}; ...@@ -67,7 +67,7 @@ p = varargin{2};
%@test:2 %@test:2
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ try %$ try
...@@ -83,7 +83,7 @@ p = varargin{2}; ...@@ -83,7 +83,7 @@ p = varargin{2};
%@test:3 %@test:3
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ try %$ try
...@@ -99,7 +99,7 @@ p = varargin{2}; ...@@ -99,7 +99,7 @@ p = varargin{2};
%@test:4 %@test:4
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ try %$ try
...@@ -115,7 +115,7 @@ p = varargin{2}; ...@@ -115,7 +115,7 @@ p = varargin{2};
%@test:5 %@test:5
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ try %$ try
...@@ -131,7 +131,7 @@ p = varargin{2}; ...@@ -131,7 +131,7 @@ p = varargin{2};
%@test:6 %@test:6
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ try %$ try
...@@ -147,7 +147,7 @@ p = varargin{2}; ...@@ -147,7 +147,7 @@ p = varargin{2};
%@test:7 %@test:7
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ try %$ try
......
...@@ -49,7 +49,7 @@ str = sprintf('%s%s>\n', str, date2string(o.time(o.length(),:),o.freq)); ...@@ -49,7 +49,7 @@ str = sprintf('%s%s>\n', str, date2string(o.time(o.length(),:),o.freq));
%@test:1 %@test:1
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ try %$ try
...@@ -75,7 +75,7 @@ str = sprintf('%s%s>\n', str, date2string(o.time(o.length(),:),o.freq)); ...@@ -75,7 +75,7 @@ str = sprintf('%s%s>\n', str, date2string(o.time(o.length(),:),o.freq));
%@test:2 %@test:2
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ try %$ try
...@@ -101,7 +101,7 @@ str = sprintf('%s%s>\n', str, date2string(o.time(o.length(),:),o.freq)); ...@@ -101,7 +101,7 @@ str = sprintf('%s%s>\n', str, date2string(o.time(o.length(),:),o.freq));
%@test:3 %@test:3
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ try %$ try
...@@ -127,7 +127,7 @@ str = sprintf('%s%s>\n', str, date2string(o.time(o.length(),:),o.freq)); ...@@ -127,7 +127,7 @@ str = sprintf('%s%s>\n', str, date2string(o.time(o.length(),:),o.freq));
%@test:4 %@test:4
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ try %$ try
......
...@@ -31,7 +31,7 @@ end ...@@ -31,7 +31,7 @@ end
%@test:1 %@test:1
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [2, 4]; %$ a = [2, 4];
...@@ -54,7 +54,7 @@ end ...@@ -54,7 +54,7 @@ end
%@test:2 %@test:2
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [1, 4]; %$ a = [1, 4];
...@@ -77,7 +77,7 @@ end ...@@ -77,7 +77,7 @@ end
%@test:3 %@test:3
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [1, 4]; %$ a = [1, 4];
...@@ -100,7 +100,7 @@ end ...@@ -100,7 +100,7 @@ end
%@test:4 %@test:4
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [1, 2]; %$ a = [1, 2];
...@@ -123,7 +123,7 @@ end ...@@ -123,7 +123,7 @@ end
%@test:5 %@test:5
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [1, 2]; %$ a = [1, 2];
......
...@@ -31,7 +31,7 @@ end ...@@ -31,7 +31,7 @@ end
%@test:1 %@test:1
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [2, 4]; %$ a = [2, 4];
...@@ -54,7 +54,7 @@ end ...@@ -54,7 +54,7 @@ end
%@test:2 %@test:2
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [1, 4]; %$ a = [1, 4];
...@@ -77,7 +77,7 @@ end ...@@ -77,7 +77,7 @@ end
%@test:3 %@test:3
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [1, 4]; %$ a = [1, 4];
...@@ -100,7 +100,7 @@ end ...@@ -100,7 +100,7 @@ end
%@test:4 %@test:4
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [1, 2]; %$ a = [1, 2];
...@@ -123,7 +123,7 @@ end ...@@ -123,7 +123,7 @@ end
%@test:5 %@test:5
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [1, 2]; %$ a = [1, 2];
......
...@@ -31,7 +31,7 @@ end ...@@ -31,7 +31,7 @@ end
%@test:1 %@test:1
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [2, 4]; %$ a = [2, 4];
...@@ -54,7 +54,7 @@ end ...@@ -54,7 +54,7 @@ end
%@test:2 %@test:2
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [1, 4]; %$ a = [1, 4];
...@@ -77,7 +77,7 @@ end ...@@ -77,7 +77,7 @@ end
%@test:3 %@test:3
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [1, 4]; %$ a = [1, 4];
...@@ -100,7 +100,7 @@ end ...@@ -100,7 +100,7 @@ end
%@test:4 %@test:4
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [1, 2]; %$ a = [1, 2];
...@@ -123,7 +123,7 @@ end ...@@ -123,7 +123,7 @@ end
%@test:5 %@test:5
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [1, 2]; %$ a = [1, 2];
......
...@@ -31,7 +31,7 @@ end ...@@ -31,7 +31,7 @@ end
%@test:1 %@test:1
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [2, 4]; %$ a = [2, 4];
...@@ -54,7 +54,7 @@ end ...@@ -54,7 +54,7 @@ end
%@test:2 %@test:2
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [1, 4]; %$ a = [1, 4];
...@@ -77,7 +77,7 @@ end ...@@ -77,7 +77,7 @@ end
%@test:3 %@test:3
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [1, 4]; %$ a = [1, 4];
...@@ -100,7 +100,7 @@ end ...@@ -100,7 +100,7 @@ end
%@test:4 %@test:4
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [1, 2]; %$ a = [1, 2];
...@@ -123,7 +123,7 @@ end ...@@ -123,7 +123,7 @@ end
%@test:5 %@test:5
%$ OPATH = pwd(); %$ OPATH = pwd();
%$ DSERIES_PATH = strrep(which('@dseries/initialize'),'/@dseries/initialize.m',''); %$ DSERIES_PATH = strrep(which('initialize_dseries_class'),'/initialize_dseries_class.m','');
%$ cd([DSERIES_PATH '/@dates/private']); %$ cd([DSERIES_PATH '/@dates/private']);
%$ %$
%$ a = [1, 2]; %$ a = [1, 2];
......
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