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

Add test of actualize method and of SCD main class

parent df993d0d
No related branches found
No related tags found
No related merge requests found
classdef test_SCDclass < matlab.unittest.TestCase
% test file for SCD interface class
properties
expcode = 1;
shot = 65668;
end
methods(Test)
function test_load(testCase)
SCD.load(testCase.expcode);
end
function test_init(testCase)
SCD.init(testCase.expcode,testCase.shot);
end
end
end
\ No newline at end of file
...@@ -73,6 +73,10 @@ classdef test_expcodes < matlab.unittest.TestCase ...@@ -73,6 +73,10 @@ classdef test_expcodes < matlab.unittest.TestCase
testCase.expcode_obj.callinits; testCase.expcode_obj.callinits;
end end
function test_actualize(testCase)
testCase.expcode_obj.actualize(testCase.shot);
end
function test_expcode_compile_nodes(testCase) function test_expcode_compile_nodes(testCase)
% compile each node separately first % compile each node separately first
......
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