Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 0ce04cbb authored by hhakim's avatar hhakim
Browse files

Minor change.

Comment out 2 Matlab tests not applying anymore because they tested that conj() and ctranspose() return the non-implemented warning message but now they are implemented.
parent c7814fb7
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ end
try
F = Faust(factors); % this must throw an exception
catch ME
if strcmp(ME.message,expected_err_message)
if strcmp(ME.message,expected_err_message)
test_pass = 1;
else
error([ 'error with a wrong message : ' ME.message ' must be : ' expected_err_message]);
......@@ -148,47 +148,47 @@ disp('Ok');
disp('test 5 : complex transpose is not yet implemented for complex scalar Faust');
test_pass = 0;
expected_err_message='TODO : ctranspose is not yet implemented for complex scalar Faust';
F=Faust({ones(5,4),ones(4,7)+1i*ones(4,7)});
try
F_ctrans = F';
catch ME
if strcmp(ME.message,expected_err_message)
test_pass = 1;
else
error([ 'error with a wrong message : ' ME.message ' must be : ' expected_err_message ]);
end
end
if(~test_pass)
error('failure');
end
disp('Ok');
disp('test 6 : conjugate is not yet implemented for Faust');
test_pass = 0;
expected_err_message='TODO : conjugate is not yet implemented for Faust';
F=Faust({ones(5,4),ones(4,7)+1i*ones(4,7)});
%disp('test 5 : complex transpose is not yet implemented for complex scalar Faust');
%test_pass = 0;
%expected_err_message='TODO : ctranspose is not yet implemented for complex scalar Faust';
%F=Faust({ones(5,4),ones(4,7)+1i*ones(4,7)});
%
%try
% F_ctrans = F';
%catch ME
% if strcmp(ME.message,expected_err_message)
% test_pass = 1;
% else
% error([ 'error with a wrong message : ' ME.message ' must be : ' expected_err_message ]);
% end
%end
%
%if(~test_pass)
% error('failure');
%end
%disp('Ok');
%
try
F_conj = conj(F);
catch ME
if strcmp(ME.message,expected_err_message)
test_pass = 1;
else
error([ 'error with a wrong message : ' ME.message ' must be : ' expected_err_message ]);
end
end
if(~test_pass)
error('failure');
end
disp('Ok');
%disp('test 6 : conjugate is not yet implemented for Faust');
%test_pass = 0;
%expected_err_message='TODO : conjugate is not yet implemented for Faust';
%F=Faust({ones(5,4),ones(4,7)+1i*ones(4,7)});
%
%try
% F_conj = conj(F);
%catch ME
% if strcmp(ME.message,expected_err_message)
% test_pass = 1;
% else
% error([ 'error with a wrong message : ' ME.message ' must be : ' expected_err_message ]);
% end
%end
%
%if(~test_pass)
% error('failure');
%end
%disp('Ok');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment