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
158 changes: 0 additions & 158 deletions API/parseOutToProblem.m

This file was deleted.

46 changes: 0 additions & 46 deletions API/parseOutToProblem2.m

This file was deleted.

65 changes: 0 additions & 65 deletions API/removeCells.m

This file was deleted.

Binary file not shown.
7 changes: 3 additions & 4 deletions tests/testExamples.m
Original file line numberDiff line numberDiff line change
Expand Up@@ -3,9 +3,9 @@
properties (TestParameter)
exampleFolder = {'standardLayers',...
'customXY',...
'customLayers',...
['manual' filesep 'DSPCStandardLayers'],...
''};
'customLayers',...
'.'};
exampleFile = {'orsoDSPCStandardLayers',...
'DPPCCustomXYScript',...
'DSPCMonolayerStandardLayers',...
Expand DownExpand Up@@ -71,7 +71,6 @@
1,...
1,...
1,...
1,...
2};

end
Expand DownExpand Up@@ -113,7 +112,7 @@ function testExample(testCase, ...
exampleParameterParamCount, ...
exampleBulkOutParamCount, ...
exampleBackgroundsTypesCount, ...
exampleDataCount,...
exampleDataCount,...
exampleScalefactorParamCount)

% verifies example exists with .m extension
Expand Down
6 changes: 4 additions & 2 deletions tests/testProjectClassToR1.m
Original file line numberDiff line numberDiff line change
Expand Up@@ -9,6 +9,8 @@
inputCustomProjectClass
outputStandardStructWithR1Input
modelFile
tolerance = 1.0e-12 % Relative tolerance for equality of floats
absTolerance = 1.0e-5 % Absolute tolerance for equality of floats
end

methods(TestClassSetup)
Expand DownExpand Up@@ -37,7 +39,7 @@ function testCompareProjectClassToR1(testCase)
expected = load(testCase.outputStandardStruct).problem;
pClass = load(testCase.inputStandardProjectClass).thisProjectClass;
result = projectClassToR1(pClass, 'saveProject', false);
testCase.verifyEqual(result, expected);
testCase.verifyEqual(result, expected, 'RelTol', testCase.tolerance, 'AbsTol', testCase.absTolerance);
end

function testProjectClassConversionWithModification(testCase)
Expand All@@ -54,7 +56,7 @@ function testR1ProblemInput(testCase)
pClass = load(testCase.inputStandardProjectClass).thisProjectClass;
result = projectClassToR1(pClass, 'r1Problem', input, 'saveProject', false);
expected = load(testCase.outputStandardStructWithR1Input).problem;
testCase.verifyEqual(result, expected);
testCase.verifyEqual(result, expected, 'RelTol', testCase.tolerance, 'AbsTol', testCase.absTolerance);
end

function testR1ProblemException(testCase)
Expand Down
Loading