From cfa1b0da8159254736f09f8ddee1b3b623beb708 Mon Sep 17 00:00:00 2001 From: alexhroom Date: Wed, 4 Sep 2024 08:55:12 +0100 Subject: [PATCH] Fixed typos and test data fixed typo hopefully all fixed? fixed tests again --- .../resampleLayersInputs.mat | Bin 1794 -> 1799 bytes tests/testControlsClass.m | 6 +++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testCommonFunctions/resampleLayersInputs.mat b/tests/testCommonFunctions/resampleLayersInputs.mat index 5afbd9d4d1b9998cfe1bbbdd5acbcb0404b6ccc0..f721b4462f0837b8bdfdc3cf5c69bf6cce5c15e5 100644 GIT binary patch delta 1742 zcmYkzX*k;n0)TPtY-$;#V;ogigp4{;BN9Xrn(a7BP&!&?JMIuFjT*%Ms~Sg{l{jjt zBN){>JB}E#Rohm?P29AM5fiC8BaINujxXD9@ALeg_klvX0#zIC;DWnhZ;mvEV2L5O zNg=_Im}o1AS9l!6Gvp2gf`XWuS|QL@rWO#yw+JN7Lzi|7L?fLAfHP83KbEXdM|yd! zXr0-bc2Sbf$X3jM^mS;;w?rArTZ}Fga`pnWGB-Q?@0@Km%x;^@I<5RVv*6h|{w>9N zMI^`sOAyihG&(YfYM&G}u3#r*QTd8HQ7R)o9m77nH{yG?CGidMhYMjC!D9J>_{Gq< zAZJfjww}IYlAJo=zg*TAw8W12-8@Qi0i9`T#wQPQo6uFjle)rBcSrs+a$~MU=JcBA zwY_Qo-@+B(bXaSe`Ifw;JT5&3o3tvmGAd(*Rb7=`Oo_guQX>DpLYk~PoKkk@qTVV< zxr#^~!ln(Xt2K++R51k0kWxbg2D2qp9f3nylnx^J6u_o}pjefMaENs}tb#0+Qkkxy1o3^KMRdP!EN8=|OU+)}{fn1Yb)-S;#}$8ZmK_*3;tVd+L^!AzhK^E)NR79|ivmY`Z@@$|fyBo2^(>^_ObtyE(N6p%F(PE>EI!%K=5A<`=_x{LvcWM$8no zsL6jRY^rTy{M8no>aR&Cdm;=dinn>WKbiBpx`%2wcG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M##)QWFr9aeGyND*sLl(Rl~8xmk@{00DC=ptrVT{- z5b2+12Dcd2j%!17UXjErwmP*M`PN+90P3Oph!zCjI|#ius49R6MTM+fezbi~XR{^A z+AuRHGch<2-H({hXk%EQ@{)(l<62#75C-au&p*UIKupGu3WQyJp?p@9@2~yD3@X_Xi1q zRb0V>$Y!9aBs?m~^Yw}ayC@Ml`mtFi8F|$2kzbWx)t&7!ord7&$W|Ds`l8)o$G;_yo@{TO2bI8N$p zKu`w3GHR?Fr#8nZ)AzLgPH#kk=^7|1i%9%_yBg6Q7txXp;GsSANqt}TYid^`L{G^H_y&X;fAU?i28nJ!z%GwR zyV0+QHOSNzW}W8P5XHq(_^CI9E|}c%fP?Ef$fxGWbnbK&yE2?M7E`oz*x_As@A-zo z7NjhZLDcWzORJDI%l)FSN2M+*CxtqxPFvN~hx0m7lf|i{vq~V|`;zz)bB-MfYrc0B zTyTdqGu6$1mNr2R(orA!ZVjfk->46rbA3&gNSwH-6K78RT|wv4zj@2}S`AG{>iu8# ztP89P&-W{zqIngu8Z2(atjiaw!GQ~$71x!vfSSm81M+mIh-sx$Ha7^`&mEAYLOaJA z34jN<5Y?WY`_5EzAK?{CrQ9hXf9+--57fE&WIpF;TSU`3cv@)th|$vt%UDoBYaIZ) W+f`MaIWji?xenA9$(-}!*Z&uK8&h}y 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;