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

Better test_expcodes using new methods

parent d96dd9d4
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,6 @@ classdef test_expcodes < matlab.unittest.TestCase ...@@ -26,7 +26,6 @@ classdef test_expcodes < matlab.unittest.TestCase
function setup_expcode(testCase,expcode_number) function setup_expcode(testCase,expcode_number)
% get this expcode object from expcode object container % get this expcode object from expcode object container
testCase.expcode_obj = getbymaincode(testCase.SCDexps,expcode_number); testCase.expcode_obj = getbymaincode(testCase.SCDexps,expcode_number);
testCase.expcode_obj.setup; % run setup this exp code
end end
end end
...@@ -41,7 +40,7 @@ classdef test_expcodes < matlab.unittest.TestCase ...@@ -41,7 +40,7 @@ classdef test_expcodes < matlab.unittest.TestCase
function test_expcode(testCase) function test_expcode(testCase)
% attempt compiling tcv.slx for this expcode % attempt compiling tcv.slx for this expcode
testCase.expcode_obj.tcvcompile; % compile tcv.slx with this expcode testCase.expcode_obj.compile; % compile tcv.slx with this expcode
end end
end end
......
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