Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominik Bach committed Sep 8, 2023
1 parent d0dad50 commit 54f46ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pspm_glm_test.m
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ function invalid_input(this)
%t
pspm_glm_test.save_datafile(Y, sr, duration, model.datafile);
% test
glm = pspm_glm(model, struct('exclude_missing', struct('segment_length',segment_length,'cutoff',cutoff)));
glm = pspm_glm(model, struct('exclude_missing', struct('segment_length',segment_length,'cutoff',cutoff), 'overwrite', 1));
exptected_number_of_conditions = 3;
this.verifyEqual(length(glm.stats_missing),exptected_number_of_conditions, sprintf('test_extract_missing: glm.stats_missing does not have the expected number (%i) of elements', exptected_number_of_conditions));
this.verifyEqual(length(glm.stats_exclude),exptected_number_of_conditions, sprintf('test_extract_missing: glm.stats_exclude does not have the expected number (%i) of elements', exptected_number_of_conditions));
Expand Down

0 comments on commit 54f46ab

Please sign in to comment.