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_spm_openmp.m
    path of file: ./repos/spm12/tests
    
    the code of the file until where you have to start completion: function tests = test_spm_openmp
% Unit Tests for OpenMP
%__________________________________________________________________________
% Copyright (
    
function test_spm_openmp_diffeo_vel2mom(testCase)
fprintf('\n');
fprintf('----------\n');
fprintf('vel2mom (diffeo)\n');
fprintf('----------\n');
dim = [200 200 200];
i   = ones([dim 3], 'single');
for bnd=[0 1]
    spm_diffeo('boundary', bnd);
    fprintf('* boundary: %d\n', bnd);
    fprintf('Number of threads: %d\n', spm_set_num_threads(1));
    tic
    o = spm_diffeo('vel2mom',i,[1 1 1 10 100 10000 10 10]);
    t1 = toc;
    fprintf('Number of threads: %d\n', spm_set_num_threads(-1));
    tic
    oo = spm_diffeo('vel2mom',i,[1 1 1 10 100 10000 10 10]);
    t2 = toc;
    fprintf('Speedup: %g\n', t1/t2);
    fprintf('Same output: %d\n', isequaln(o,oo));
    testCase.verifyEqual(o, oo);
end