Skip to content
Snippets Groups Projects
Commit 0dfe2214 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Added unit test.

parent 4f9171fe
Branches
No related tags found
No related merge requests found
......@@ -67,3 +67,16 @@ q.time = time;
%$ t(2) = dassert(isempty(c2),true);
%$ T = all(t);
%@eof:1
%@test:2
%$ % Define some dates objects
%$ d1 = dates('1950Q1'):dates('1969Q4') ;
%$ d2 = dates('1950Q1'):dates('1969Q4') ;
%$
%$ % Call the tested routine.
%$ c1 = intersect(d1,d2);
%$
%$ % Check the results.
%$ t(1) = dassert(c1,d1);
%$ T = all(t);
%@eof:2
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment