Cody

Solution 1730822

Submitted on 19 Feb 2019
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
% Banning these to discourage hard-coded answers and silly 'scoring cheats'. Sorry if it disrupts some legitimate usage. % Please don't try any other hacks or workarounds. assessFunctionAbsence({'str2num','str2double','regexp', 'regexpi'}, 'FileName','negativeRabbits.m'); FR = fileread('negativeRabbits.m'); msg = 'Don''t hard-code your ''solution''.'; assert( ~any( cellfun( @(z) contains(FR, z) , {'54800875592', '716768017756', '9845401187926'} ) ) , msg )

2   Pass
% I don't think it's very good style to be using "ans". RE = regexp(fileread('negativeRabbits.m'), '\w+', 'match'); tabooWords = {'ans'}; testResult = cellfun( @(z) ismember(z, tabooWords), RE ); msg = ['Please do not include the following banned strings in your code!' char([10 13]) ... strjoin(RE(testResult)) char([10 13])]; assert(~any( cellfun( @(z) ismember(z, tabooWords), RE ) ), msg)

3   Fail
% This is important. assert( isequal( class(negativeRabbits(0)) , 'int64' ) , 'Wrong data type.')

Wrong data type.

4   Pass
% Test Suite shall ensure it only ever checks n < 3. assert( isequal(negativeRabbits(+2), 1) , 'Failed at n =+2.' ) assert( isequal(negativeRabbits(+1), 1) , 'Failed at n =+1.' ) assert( isequal(negativeRabbits( 0), 0) , 'Failed at n = 0.' ) assert( isequal(negativeRabbits(-1), 1) , 'Failed at n =-1.' )

5   Fail
for n = 0 : -1 : -10 assert( isequal(negativeRabbits(n)+negativeRabbits(n+1), negativeRabbits(n+2)) , ['Failed at n =' num2str(n) '.']) end;

Failed at n =-3.

6   Fail
for n = -10 : -1 : -20 assert( isequal(negativeRabbits(n)+negativeRabbits(n+1), negativeRabbits(n+2)) , ['Failed at n =' num2str(n) '.']) end;

Failed at n =-10.

7   Fail
for n = -20 : -1 : -40 assert( isequal(negativeRabbits(n)+negativeRabbits(n+1), negativeRabbits(n+2)) , ['Failed at n =' num2str(n) '.']) end;

Failed at n =-20.

8   Fail
for n = -40 : -1 : -77 assert( isequal(negativeRabbits(n)+negativeRabbits(n+1), negativeRabbits(n+2)) , ['Failed at n =' num2str(n) '.']) end;

[Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 2.742316e-18.] [> In negativeRabbits (line 2) In ScoringEngineTestPoint8 (line 2) In solutionTest (line 17) In matlab.unittest.internal.executeCodeBlock (line 11) In matlab.unittest.internal.ScriptTestCaseProvider/evaluateTestSection (line 134) In matlab.unittest.internal.ScriptTestCaseProvider/runTestSection (line 128) In matlab.unittest.internal.ScriptTestCaseProvider>@(testCase)provider.runTestSection(testCase) (line 94) In matlab.unittest.FunctionTestCase/test (line 98) In matlab.unittest.TestRunner/evaluateMethodCore (line 852) In matlab.unittest.TestRunner/evaluateMethod (line 1152) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/evaluateMethod (line 655) In scoringengine.OutputPlugin/evaluateMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/evaluateMethod (line 655) In scoringengine.FiguresPlugin/evaluateMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/evaluateMethodsOnTestContent (line 794) In matlab.unittest.TestRunner/runTestMethod (line 1148) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/runTestMethod (line 609) In scoringengine.OutputPlugin/runTestMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestMethod (line 609) In scoringengine.FiguresPlugin/runTestMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/runTest (line 1095) In matlab.unittest.TestRunner/repeatTest (line 482) In matlab.unittest.TestRunner/runSharedTestCase (line 438) In matlab.unittest.TestRunner/runTestClass (line 1005) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/runTestSuite (line 942) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In scoringengine.OutputPlugin/runTestSuite In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In scoringengine.FiguresPlugin/runTestSuite In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In matlab.unittest.plugins.DiagnosticsRecordingPlugin/runTestSuite (line 204) In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/doRun (line 411) In matlab.unittest.TestRunner/run (line 290) In scoringengine.verifyCode In scoringengine.verifyCode In connector.internal.fevalMatlab In connector.internal.fevalJSON ] [Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 3.921633e-17.] [> In negativeRabbits (line 2) In ScoringEngineTestPoint8 (line 2) In solutionTest (line 17) In matlab.unittest.internal.executeCodeBlock (line 11) In matlab.unittest.internal.ScriptTestCaseProvider/evaluateTestSection (line 134) In matlab.unittest.internal.ScriptTestCaseProvider/runTestSection (line 128) In matlab.unittest.internal.ScriptTestCaseProvider>@(testCase)provider.runTestSection(testCase) (line 94) In matlab.unittest.FunctionTestCase/test (line 98) In matlab.unittest.TestRunner/evaluateMethodCore (line 852) In matlab.unittest.TestRunner/evaluateMethod (line 1152) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/evaluateMethod (line 655) In scoringengine.OutputPlugin/evaluateMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/evaluateMethod (line 655) In scoringengine.FiguresPlugin/evaluateMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/evaluateMethodsOnTestContent (line 794) In matlab.unittest.TestRunner/runTestMethod (line 1148) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/runTestMethod (line 609) In scoringengine.OutputPlugin/runTestMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestMethod (line 609) In scoringengine.FiguresPlugin/runTestMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/runTest (line 1095) In matlab.unittest.TestRunner/repeatTest (line 482) In matlab.unittest.TestRunner/runSharedTestCase (line 438) In matlab.unittest.TestRunner/runTestClass (line 1005) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/runTestSuite (line 942) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In scoringengine.OutputPlugin/runTestSuite In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In scoringengine.FiguresPlugin/runTestSuite In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In matlab.unittest.plugins.DiagnosticsRecordingPlugin/runTestSuite (line 204) In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/doRun (line 411) In matlab.unittest.TestRunner/run (line 290) In scoringengine.verifyCode In scoringengine.verifyCode In connector.internal.fevalMatlab In connector.internal.fevalJSON ] [Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 8.248268e-17.] [> In negativeRabbits (line 2) In ScoringEngineTestPoint8 (line 2) In solutionTest (line 17) In matlab.unittest.internal.executeCodeBlock (line 11) In matlab.unittest.internal.ScriptTestCaseProvider/evaluateTestSection (line 134) In matlab.unittest.internal.ScriptTestCaseProvider/runTestSection (line 128) In matlab.unittest.internal.ScriptTestCaseProvider>@(testCase)provider.runTestSection(testCase) (line 94) In matlab.unittest.FunctionTestCase/test (line 98) In matlab.unittest.TestRunner/evaluateMethodCore (line 852) In matlab.unittest.TestRunner/evaluateMethod (line 1152) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/evaluateMethod (line 655) In scoringengine.OutputPlugin/evaluateMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/evaluateMethod (line 655) In scoringengine.FiguresPlugin/evaluateMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/evaluateMethodsOnTestContent (line 794) In matlab.unittest.TestRunner/runTestMethod (line 1148) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/runTestMethod (line 609) In scoringengine.OutputPlugin/runTestMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestMethod (line 609) In scoringengine.FiguresPlugin/runTestMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/runTest (line 1095) In matlab.unittest.TestRunner/repeatTest (line 482) In matlab.unittest.TestRunner/runSharedTestCase (line 438) In matlab.unittest.TestRunner/runTestClass (line 1005) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/runTestSuite (line 942) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In scoringengine.OutputPlugin/runTestSuite In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In scoringengine.FiguresPlugin/runTestSuite In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In matlab.unittest.plugins.DiagnosticsRecordingPlugin/runTestSuite (line 204) In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.Te...

Failed at n =-40.

9   Fail
% This is difficult, but feasible within the parameters of the problem. for n = -77 : -1 : -92 assert( isequal(negativeRabbits(n)+negativeRabbits(n+1), negativeRabbits(n+2)) , ['Failed at n =' num2str(n) '.']) end;

[Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 1.338533e-17.] [> In negativeRabbits (line 2) In ScoringEngineTestPoint9 (line 3) In solutionTest (line 19) In matlab.unittest.internal.executeCodeBlock (line 11) In matlab.unittest.internal.ScriptTestCaseProvider/evaluateTestSection (line 134) In matlab.unittest.internal.ScriptTestCaseProvider/runTestSection (line 128) In matlab.unittest.internal.ScriptTestCaseProvider>@(testCase)provider.runTestSection(testCase) (line 94) In matlab.unittest.FunctionTestCase/test (line 98) In matlab.unittest.TestRunner/evaluateMethodCore (line 852) In matlab.unittest.TestRunner/evaluateMethod (line 1152) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/evaluateMethod (line 655) In scoringengine.OutputPlugin/evaluateMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/evaluateMethod (line 655) In scoringengine.FiguresPlugin/evaluateMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/evaluateMethodsOnTestContent (line 794) In matlab.unittest.TestRunner/runTestMethod (line 1148) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/runTestMethod (line 609) In scoringengine.OutputPlugin/runTestMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestMethod (line 609) In scoringengine.FiguresPlugin/runTestMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/runTest (line 1095) In matlab.unittest.TestRunner/repeatTest (line 482) In matlab.unittest.TestRunner/runSharedTestCase (line 438) In matlab.unittest.TestRunner/runTestClass (line 1005) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/runTestSuite (line 942) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In scoringengine.OutputPlugin/runTestSuite In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In scoringengine.FiguresPlugin/runTestSuite In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In matlab.unittest.plugins.DiagnosticsRecordingPlugin/runTestSuite (line 204) In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/doRun (line 411) In matlab.unittest.TestRunner/run (line 290) In scoringengine.verifyCode In scoringengine.verifyCode In connector.internal.fevalMatlab In connector.internal.fevalJSON ] [Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 1.282348e-17.] [> In negativeRabbits (line 2) In ScoringEngineTestPoint9 (line 3) In solutionTest (line 19) In matlab.unittest.internal.executeCodeBlock (line 11) In matlab.unittest.internal.ScriptTestCaseProvider/evaluateTestSection (line 134) In matlab.unittest.internal.ScriptTestCaseProvider/runTestSection (line 128) In matlab.unittest.internal.ScriptTestCaseProvider>@(testCase)provider.runTestSection(testCase) (line 94) In matlab.unittest.FunctionTestCase/test (line 98) In matlab.unittest.TestRunner/evaluateMethodCore (line 852) In matlab.unittest.TestRunner/evaluateMethod (line 1152) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/evaluateMethod (line 655) In scoringengine.OutputPlugin/evaluateMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/evaluateMethod (line 655) In scoringengine.FiguresPlugin/evaluateMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/evaluateMethodsOnTestContent (line 794) In matlab.unittest.TestRunner/runTestMethod (line 1148) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/runTestMethod (line 609) In scoringengine.OutputPlugin/runTestMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestMethod (line 609) In scoringengine.FiguresPlugin/runTestMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/runTest (line 1095) In matlab.unittest.TestRunner/repeatTest (line 482) In matlab.unittest.TestRunner/runSharedTestCase (line 438) In matlab.unittest.TestRunner/runTestClass (line 1005) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/runTestSuite (line 942) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In scoringengine.OutputPlugin/runTestSuite In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In scoringengine.FiguresPlugin/runTestSuite In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In matlab.unittest.plugins.DiagnosticsRecordingPlugin/runTestSuite (line 204) In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/doRun (line 411) In matlab.unittest.TestRunner/run (line 290) In scoringengine.verifyCode In scoringengine.verifyCode In connector.internal.fevalMatlab In connector.internal.fevalJSON ] [Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 1.282348e-17.] [> In negativeRabbits (line 2) In ScoringEngineTestPoint9 (line 3) In solutionTest (line 19) In matlab.unittest.internal.executeCodeBlock (line 11) In matlab.unittest.internal.ScriptTestCaseProvider/evaluateTestSection (line 134) In matlab.unittest.internal.ScriptTestCaseProvider/runTestSection (line 128) In matlab.unittest.internal.ScriptTestCaseProvider>@(testCase)provider.runTestSection(testCase) (line 94) In matlab.unittest.FunctionTestCase/test (line 98) In matlab.unittest.TestRunner/evaluateMethodCore (line 852) In matlab.unittest.TestRunner/evaluateMethod (line 1152) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/evaluateMethod (line 655) In scoringengine.OutputPlugin/evaluateMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/evaluateMethod (line 655) In scoringengine.FiguresPlugin/evaluateMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/evaluateMethodsOnTestContent (line 794) In matlab.unittest.TestRunner/runTestMethod (line 1148) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/runTestMethod (line 609) In scoringengine.OutputPlugin/runTestMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestMethod (line 609) In scoringengine.FiguresPlugin/runTestMethod In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/runTest (line 1095) In matlab.unittest.TestRunner/repeatTest (line 482) In matlab.unittest.TestRunner/runSharedTestCase (line 438) In matlab.unittest.TestRunner/runTestClass (line 1005) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.TestRunner/runTestSuite (line 942) In matlab.unittest.TestRunner/invokeTestContentOperatorMethod_ (line 900) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In scoringengine.OutputPlugin/runTestSuite In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In scoringengine.FiguresPlugin/runTestSuite In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.plugins.TestRunnerPlugin/runTestSuite (line 226) In matlab.unittest.plugins.DiagnosticsRecordingPlugin/runTestSuite (line 204) In matlab.unittest.plugins.TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 686) In matlab.unittest.TestRunner/evaluateMethodOnPlugins (line 756) In matlab.unittest.Te...

Failed at n =-77.