Skip to content

Commit 3609466

Browse files
committed
add utils tests
1 parent 962c947 commit 3609466

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

src/convertSourceToRaw.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function convertSourceToRaw(cfg)
1010
% Only covers func folder at the moment
1111

1212
sourceDir = fullfile(cfg.dir.output, 'source');
13-
rawDir = fullfile(cfg.dir.output, 'rawdata');
13+
rawDir = fullfile(cfg.dir.output, 'raw');
1414

1515
% add dummy README and CHANGE file
1616
copyfile(fullfile( ...
File renamed without changes.
File renamed without changes.

tests/test_utils.m

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
function test_suite = test_utils %#ok<*STOUT>
2+
try % assignment of 'localfunctions' is necessary in Matlab >= 2016
3+
test_functions = localfunctions(); %#ok<*NASGU>
4+
catch % no problem; early Matlab versions can use initTestSuite fine
5+
end
6+
initTestSuite;
7+
end
8+
9+
function test_utilsBasic()
10+
11+
printCreditsCppBids();
12+
13+
checkCppBidsDependencies();
14+
15+
end

0 commit comments

Comments
 (0)