diff --git a/tests/testCommonFunctions/resampleLayersInputs.mat b/tests/testCommonFunctions/resampleLayersInputs.mat index 5afbd9d4d..f721b4462 100644 Binary files a/tests/testCommonFunctions/resampleLayersInputs.mat and b/tests/testCommonFunctions/resampleLayersInputs.mat differ diff --git a/tests/testControlsClass.m b/tests/testControlsClass.m index bbb6fb18f..a9500074a 100644 --- a/tests/testControlsClass.m +++ b/tests/testControlsClass.m @@ -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;