Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SCDDS-core
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SPC
SCDDS
SCDDS-core
Commits
129a78a2
Commit
129a78a2
authored
4 years ago
by
Federico Felici
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/test_SCDclass.m
+18
-0
18 additions, 0 deletions
tests/test_SCDclass.m
tests/test_expcodes.m
+4
-0
4 additions, 0 deletions
tests/test_expcodes.m
with
22 additions
and
0 deletions
tests/test_SCDclass.m
0 → 100644
+
18
−
0
View file @
129a78a2
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
This diff is collapsed.
Click to expand it.
tests/test_expcodes.m
+
4
−
0
View file @
129a78a2
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment