Commit 61c42444 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Added unitary test.

parent 56be6eb4
......@@ -292,3 +292,20 @@ end
%$ t(6) = dyn_assert(all(isnan(ww.time)),1);
%$ T = all(t);
%@eof:4
%@test:5
%$ % Try to instatiate dynDate objects.
%$ try
%$ a = dynDate([1950 1],'Q');
%$ t(1) = 1;
%$ catch
%$ t(1) = 0;
%$ end
%$ try
%$ a = dynDate([1950 5],'Q');
%$ t(2) = 0;
%$ catch
%$ t(2) = 1;
%$ end
%$ T = all(t);
%@eof:5
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