Skip to content

Commit

Permalink
Merge pull request opencobra#1037 from tpfau/updateTests
Browse files Browse the repository at this point in the history
Cleanup in some tests
  • Loading branch information
rmtfleming authored Dec 8, 2017
2 parents 3b838c7 + 4c199d5 commit 138af30
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,8 @@
end
end

%Remove the output, to keep the toolbox updateable.
delete([fileDir filesep 'MILPProblem.mat']);

fprintf('Done...\n');
cd(currentDir)
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,8 @@
% define the solver packages to be used to run this test
fprintf('Done.\n');

%Remove the output, to keep the toolbox updateable.
delete([fileDir filesep 'MILPProblem.mat']);

% change the directory
cd(currentDir)
4 changes: 4 additions & 0 deletions test/verifiedTests/design/testOptGene.m
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@
assert(tested,sprintf('This method is only tested with gurobi and ibm_cplex but should work with other solvers as well.\n To test it please add your prefered solver to the list in this test and rerun the test'));
% close the open windows
close all

%Remove the output, to keep the toolbox updateable.
delete([fileDir filesep 'MILPProblem.mat']);

fprintf('Done.\n');
% change to old directory
cd(currentDir);

0 comments on commit 138af30

Please sign in to comment.