Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions WorkshopGuide.m

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion resources/project/Project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
</Category>
</Info>
</File>
<File Location="testall.m">
<File Location="tSimulateModel.m">
<Info>
<Category UUID="FileClassCategory">
<Label UUID="test"/>
Expand Down
22 changes: 22 additions & 0 deletions tests/tSimulateModel.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
classdef tSimulateModel < matlab.unittest.TestCase
%TESTALL - Unit tests for SimulationModel behavior
% Contains tests that verify SimulationModel produces expected SimData.

methods (Test)
function testSimData(testCase)

% Create model instance and run its simulation
sObj = SimulationModel;
simulate(sObj);

% Verify SimData object type
testCase.verifyClass(sObj.SimData,'SimData');

% Verify expected set of data names produced by the simulation
import matlab.unittest.constraints.IsSameSetAs
testCase.verifyThat(sObj.SimData.DataNames,...
IsSameSetAs(["Receptor","Complex","RO","Drug"]));
end
end
end

17 changes: 0 additions & 17 deletions tests/testall.m

This file was deleted.

Loading