Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelson-numerical-software committed Jul 31, 2021
1 parent d47813f commit 6296e1b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions modules/files_folders_functions/tests/test_cd.m
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,9 @@
newDirectory = pwd();
assert_isequal(currentDirectory, newDirectory);
%=============================================================================
temp_dest = [TMPDIR, createGUID()];
mkdir(temp_dest);
cd(temp_dest);
currentDirectory = pwd();
assert_isequal(currentDirectory, temp_dest);
%=============================================================================

0 comments on commit 6296e1b

Please sign in to comment.