diff --git a/tests/unit/conslearn/monotonic/tmakeParametersMonotonic.m b/tests/unit/conslearn/monotonic/tmakeParametersMonotonic.m index a3a6b87..c730adf 100644 --- a/tests/unit/conslearn/monotonic/tmakeParametersMonotonic.m +++ b/tests/unit/conslearn/monotonic/tmakeParametersMonotonic.m @@ -10,7 +10,7 @@ function verifyCorrectResultForSimpleCase(testCase, ValidInputs) out = conslearn.monotonic.makeParametersMonotonic( ... ValidInputs.W, ValidInputs.lambda, ValidInputs.pNorm); - testCase.verifyEqual(out, ValidInputs.ExpectedOutput, AbsTol=1e-12); + testCase.verifyEqual(extractdata(out), extractdata(ValidInputs.ExpectedOutput), AbsTol=1e-12); end end @@ -53,4 +53,4 @@ function verifyCorrectResultForSimpleCase(testCase, ValidInputs) lambda = 10, ... pNorm = Inf, ... ExpectedOutput = w); -end \ No newline at end of file +end