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

Added unit test.

(cherry picked from commit 0dfe2214)
parent 46ea0bd1
No related branches found
No related tags found
No related merge requests found
......@@ -86,3 +86,16 @@ C.ndat = rows(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
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment