Fixed paths in unit tests.

parent e232e940
Pipeline #782 passed with stage
in 2 minutes and 17 seconds
......@@ -51,7 +51,7 @@ p = varargin{2};
%@test:1
%$ 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']);
%$
%$ try
......@@ -67,7 +67,7 @@ p = varargin{2};
%@test:2
%$ 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']);
%$
%$ try
......@@ -83,7 +83,7 @@ p = varargin{2};
%@test:3
%$ 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']);
%$
%$ try
......@@ -99,7 +99,7 @@ p = varargin{2};
%@test:4
%$ 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']);
%$
%$ try
......@@ -115,7 +115,7 @@ p = varargin{2};
%@test:5
%$ 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']);
%$
%$ try
......@@ -131,7 +131,7 @@ p = varargin{2};
%@test:6
%$ 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']);
%$
%$ try
......@@ -147,7 +147,7 @@ p = varargin{2};
%@test:7
%$ 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']);
%$
%$ try
......
......@@ -49,7 +49,7 @@ str = sprintf('%s%s>\n', str, date2string(o.time(o.length(),:),o.freq));
%@test:1
%$ 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']);
%$
%$ try
......@@ -75,7 +75,7 @@ str = sprintf('%s%s>\n', str, date2string(o.time(o.length(),:),o.freq));
%@test:2
%$ 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']);
%$
%$ try
......@@ -101,7 +101,7 @@ str = sprintf('%s%s>\n', str, date2string(o.time(o.length(),:),o.freq));
%@test:3
%$ 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']);
%$
%$ try
......@@ -127,7 +127,7 @@ str = sprintf('%s%s>\n', str, date2string(o.time(o.length(),:),o.freq));
%@test:4
%$ 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']);
%$
%$ try
......
......@@ -31,7 +31,7 @@ end
%@test:1
%$ 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']);
%$
%$ a = [2, 4];
......@@ -54,7 +54,7 @@ end
%@test:2
%$ 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']);
%$
%$ a = [1, 4];
......@@ -77,7 +77,7 @@ end
%@test:3
%$ 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']);
%$
%$ a = [1, 4];
......@@ -100,7 +100,7 @@ end
%@test:4
%$ 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']);
%$
%$ a = [1, 2];
......@@ -123,7 +123,7 @@ end
%@test:5
%$ 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']);
%$
%$ a = [1, 2];
......
......@@ -31,7 +31,7 @@ end
%@test:1
%$ 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']);
%$
%$ a = [2, 4];
......@@ -54,7 +54,7 @@ end
%@test:2
%$ 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']);
%$
%$ a = [1, 4];
......@@ -77,7 +77,7 @@ end
%@test:3
%$ 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']);
%$
%$ a = [1, 4];
......@@ -100,7 +100,7 @@ end
%@test:4
%$ 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']);
%$
%$ a = [1, 2];
......@@ -123,7 +123,7 @@ end
%@test:5
%$ 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']);
%$
%$ a = [1, 2];
......
......@@ -31,7 +31,7 @@ end
%@test:1
%$ 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']);
%$
%$ a = [2, 4];
......@@ -54,7 +54,7 @@ end
%@test:2
%$ 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']);
%$
%$ a = [1, 4];
......@@ -77,7 +77,7 @@ end
%@test:3
%$ 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']);
%$
%$ a = [1, 4];
......@@ -100,7 +100,7 @@ end
%@test:4
%$ 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']);
%$
%$ a = [1, 2];
......@@ -123,7 +123,7 @@ end
%@test:5
%$ 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']);
%$
%$ a = [1, 2];
......
......@@ -31,7 +31,7 @@ end
%@test:1
%$ 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']);
%$
%$ a = [2, 4];
......@@ -54,7 +54,7 @@ end
%@test:2
%$ 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']);
%$
%$ a = [1, 4];
......@@ -77,7 +77,7 @@ end
%@test:3
%$ 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']);
%$
%$ a = [1, 4];
......@@ -100,7 +100,7 @@ end
%@test:4
%$ 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']);
%$
%$ a = [1, 2];
......@@ -123,7 +123,7 @@ end
%@test:5
%$ 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']);
%$
%$ 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