Code covered by the BSD License  

Highlights from
Doctest - embed testable examples in your function's help comments

from Doctest - embed testable examples in your function's help comments by Thomas Smith
Put a usage example in the help of your function, then test it to make sure it still works over time

should_fail.m
% Has a doctest that should fail.
%
% >> 3 + 3
% 
% ans =
%
%      5
%

Contact us