Skip to content

Commit 9cd1deb

Browse files
committed
update test to include resolution in cfg by default
1 parent e80a9f8 commit 9cd1deb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/test_setDefaultsPTB.m

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,11 @@ function test_setDefaultsPtbAudio()
6464
'debug', struct('do', true, 'transpWin', true, 'smallWin', true), ...
6565
'color', struct( ...
6666
'background', [0 0 0]), ...
67-
'text', struct('font', 'Courier New', 'size', 18, 'style', 1), ...
68-
'screen', struct( ...
69-
'monitorWidth', 42, ...
70-
'monitorDistance', 134));
67+
'text', struct('font', 'Courier New', 'size', 18, 'style', 1));
68+
69+
expectedCFG.screen.monitorWidth = 42;
70+
expectedCFG.screen.monitorDistance = 134;
71+
expectedCFG.screen.resolution = {[], [], []};
7172

7273
% fixation cross or dot
7374
expectedCFG.fixation.type = 'cross';

0 commit comments

Comments
 (0)