Skip to content

Commit

Permalink
update tests schema (#697)
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau authored Apr 30, 2024
1 parent 208ea0f commit 2a105ba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_bids_schema.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ function test_get_datatypes()
'pet'})');

assertEqual(fieldnames(datatypes.func), {'func'
'norf'
'phase'
'events__mri'
'timeseries__func'});
Expand All @@ -39,6 +40,7 @@ function test_return_suffixes()
{'bold'; ...
'cbv'; ...
'sbref'; ...
'noRF'; ...
'phase'; ...
'events'; ...
'physio'; ...
Expand Down Expand Up @@ -120,7 +122,7 @@ function test_return_entities_with_only_datatype_as_argument()
entities = schema.return_entities('datatype', 'func', ...
'required_only', false);
expected_entities = {'sub', 'ses', 'task', 'acq', 'ce', 'rec', ...
'dir', 'run', 'echo', 'part', 'recording', 'chunk'};
'dir', 'run', 'mod', 'echo', 'part', 'recording', 'chunk'};
assertEqual(entities, expected_entities);

end
Expand Down Expand Up @@ -209,6 +211,7 @@ function test_return_suffix_groups_for_datatype()

suffix_groups = schema.return_suffix_groups_for_datatype('func');
assertEqual(suffix_groups, {'func'
'norf'
'phase'
'events__mri'
'timeseries__func'});
Expand Down

0 comments on commit 2a105ba

Please sign in to comment.