Skip to content

Commit

Permalink
fix cell indexing that was causing error in location test
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccamccabe committed Nov 10, 2024
1 parent 5cb8e0a commit bbd4b65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test.m
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ function changeFolder(testCase)
end

function runNominalValidation(testCase)
% this is a shared setup because the results are used by both
% validateNominal and validateNominalFeasible
[feas, fail, sim, act] = validate_nominal_RM3();
testCase.feasible = feas;
testCase.failed = fail;
Expand All @@ -59,7 +61,7 @@ function allFiguresRun(testCase, which_figs, which_tabs)
success_criterion = all_figures(which_figs,which_tabs);
if ~isempty(success_criterion)
for i=1:length(success_criterion)
testCase.verifyGreaterThan(success_criterion(i),0);
testCase.verifyGreaterThan(success_criterion{i},0);
end
end
end
Expand Down

0 comments on commit bbd4b65

Please sign in to comment.