Skip to content

Commit

Permalink
Fixed typos and test data
Browse files Browse the repository at this point in the history
fixed typo

hopefully all fixed?

fixed tests again
  • Loading branch information
alexhroom committed Sep 6, 2024
1 parent 4a297aa commit cfa1b0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Binary file modified tests/testCommonFunctions/resampleLayersInputs.mat
Binary file not shown.
6 changes: 3 additions & 3 deletions tests/testControlsClass.m
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ function setResampleMinAngle(value)

function testResampleNPoints(testCase)
% test if set.resampleNPoints is working
testcase.controls.resampleNPoints = 10;
testcase.verifyEqual(testcase.controls.resampleNPoints, 10, 'set.resampleNPoints method is not working')
testCase.controls.resampleNPoints = 10;
testCase.verifyEqual(testCase.controls.resampleNPoints, 10, 'set.resampleNPoints method is not working')
% bad option
testCase.verifyError(@() setResampleNPoints('ab'), exceptions.invalidType.errorID);
testCase.verifyError(@() setResampleNPoints(0.5), exceptions.invalidType.errorID);
testCase.verifyError(@() setResampleNPoints(0.5), exceptions.invalidValue.errorID);
testCase.verifyError(@() setResampleNPoints(-1), exceptions.invalidValue.errorID);
function setResampleNPoints(value)
testCase.controls.resampleNPoints = value;
Expand Down

0 comments on commit cfa1b0d

Please sign in to comment.