You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: test_ricoh.m
    path of file: ./repos/fieldtrip/test
    
    the code of the file until where you have to start completion: function test_ricoh

% MEM 4gb
% WALLTIME 01:00:00
% DEPENDENCY hasricoh isricohmegfile read_ricoh_data read_ricoh_event read_ricoh_header ricoh2grad
% DATA private

%% Test function for Ricoh *.con (Third-party exported) data

    
function test_ricoh

% MEM 4gb
% WALLTIME 01:00:00
% DEPENDENCY hasricoh isricohmegfile read_ricoh_data read_ricoh_event read_ricoh_header ricoh2grad
% DATA private

%% Test function for Ricoh *.con (Third-party exported) data
%
% Recording data of a session of AEF for right-ear stimulation composed of 100 trials
% This is an "exported .con" data that includes full of recording information:
% MEG data, EEG data, digitized points, acquisition conditions, etc.

% filename = 'rightearAEF_export.con';
filename = dccnpath('/home/common/matlab/fieldtrip/data/test/original/meg/ricoh160/rightearAEF_export.con');

if ~ft_filetype(filename, 'ricoh_con')
  error('definition error of ricoh_con');
end