Commit 90d8efd1 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Added unitary test.

parent 2967328b
......@@ -600,4 +600,25 @@ end
%$ end
%$
%$ T = all(t);
%@eof:13
\ No newline at end of file
%@eof:13
%@test:14
%$ try
%$ data = transpose(0:1:50);
%$ ts = dynSeries(data,'1950Q1');
%$ a = ts.lag;
%$ b = ts.lead;
%$ c = ts(-1);
%$ d = ts(1);
%$ t(1) = 1;
%$ catch
%$ t(1) = 0;
%$ end
%$
%$ if t(1)>1
%$ t(2) = (a==c);
%$ t(3) = (b==d);
%$ end
%$
%$ T = all(t);
%@eof:14
\ 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