Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (11 sloc) 296 Bytes
function is(a, b, comment)
%% is(a, b, comment)
%% tests that the two values a and b are equal. Calls ok() to handle
%% the test output logic, so has all the same capabilities as that
%% function.
if nargin == 3
ok(a == b, comment);
else
ok(a == b);
endif
endfunction