Commit 44c38fe4 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Added unit test.

parent ee49426f
......@@ -88,3 +88,20 @@ ts.name(idname) = {new};
%$
%$ T = all(t);
%@eof:2
%@test:3
%$ t = zeros(2,1);
%$ ts = dseries(randn(10,1));
%$ try
%$ ts = ts.rename('Dora');
%$ t(1) = 1;
%$ catch
%$ t = 0;
%$ end
%$
%$ if length(t)>1
%$ t(2) = dassert(ts.name,{'Dora'});
%$ end
%$
%$ T = all(t);
%@eof:3
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