Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
pwd
dir
newpath='/level/files/';
file2copy='create_dir_copyfile.m';
create_dir_copyfile(newpath,file2copy);
cd(newpath(2:end)) % 'level/files'
pwd
z=dir;
assert(strcmp(z(3).name,file2copy)) % only 1 file to be copied
ans =
'/users/mss.system.VSyxBW'
. .. ScoringEngineTestPoint1.m create_dir_copyfile.m solutionTest.m
ans =
'/users/mss.system.VSyxBW/level/files'
|
559 Solvers
794 Solvers
1731 Solvers
84 Solvers
469 Solvers