Skip to content

Commit

Permalink
Fixed FEVAL issue in App and added tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ebenetce committed Nov 30, 2021
1 parent 007ca06 commit f74f971
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
Binary file modified tbx/app/BEARapp20a.mlapp
Binary file not shown.
Binary file modified tbx/app/BEARapp21a.mlapp
Binary file not shown.
14 changes: 14 additions & 0 deletions tests/tApp.m
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,20 @@ function tFrequency(tc)

end

function tFeval(tc)

tc.choose(tc.App.APPLICATIONSTab)
tc.press(tc.App.QuickExporttoWorkspaceButton)
opts = evalin('base', 'opts');
tc.verifyEqual(opts.Feval, false);

tc.press(tc.App.Feval_cp);
tc.press(tc.App.QuickExporttoWorkspaceButton)
opts = evalin('base', 'opts');
tc.verifyEqual(opts.Feval, true);

end

end

end

0 comments on commit f74f971

Please sign in to comment.