Skip to content
Snippets Groups Projects
Commit 23090771 authored by Federico Felici's avatar Federico Felici
Browse files

Add tests for expcode print* methods

parent afc1dab1
No related branches found
No related tags found
No related merge requests found
...@@ -31,6 +31,26 @@ classdef test_expcodes < matlab.unittest.TestCase ...@@ -31,6 +31,26 @@ classdef test_expcodes < matlab.unittest.TestCase
testCase.expcode_obj = getbymaincode(testCase.SCDexps,str2double(expcode_number)); testCase.expcode_obj = getbymaincode(testCase.SCDexps,str2double(expcode_number));
end end
function test_expcode_printInfo(testCase)
testCase.expcode_obj.printInfo
end
function test_expcode_printparameters(testCase)
testCase.expcode_obj.printparameters
end
function test_expcode_printwavegens(testCase)
testCase.expcode_obj.printwavegens;
end
function test_expcode_printtasks(testCase)
testCase.expcode_obj.printtasks;
end
function test_expcode_printinits(testCase)
testCase.expcode_obj.printinits
end
function test_expcode_setup(testCase) function test_expcode_setup(testCase)
fprintf('\n=== Testing callinits for expcode %d: %s === \n',... fprintf('\n=== Testing callinits for expcode %d: %s === \n',...
testCase.expcode_obj.maincode,testCase.expcode_obj.name); testCase.expcode_obj.maincode,testCase.expcode_obj.name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment