Skip to content

Commit

Permalink
Also test progress()
Browse files Browse the repository at this point in the history
  • Loading branch information
JAAdrian committed Feb 28, 2021
1 parent 5d9a386 commit db074b4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/progress_test.m
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ function simpleCall(testCase)
testCase.verifyTrue(contains(str, '100%'));
testCase.verifyTrue(contains(str, '1/1it'));
end


function disabledProgress(testCase)
str = evalc('for k = progress(1, ''IsActive'', false); end;');

testCase.verifyEmpty(str);
end
end

end

0 comments on commit db074b4

Please sign in to comment.