Cody

Problem 189. Sum all integers from 1 to 2^n

Solution 3476889

Submitted on 30 Oct 2020 at 10:03 by Lucie Pelikánová
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
x = 3; y_correct = 36; assert(isequal(sum_int(x),y_correct))

[Warning: Colon operands must be real scalars.] [> In sum_int (line 3) In ScoringEngineTestPoint1 (line 3) In solutionTest (line 3) 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.internal/FunctionTestCase/test (line 72) In matlab.unittest/TestRunner/evaluateMethodCore (line 891) In matlab.unittest/TestRunner/evaluateMethod (line 1219) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/evaluateMethod (line 729) In scoringengine/OutputPlugin/evaluateMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/evaluateMethod (line 729) In scoringengine/FiguresPlugin/evaluateMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodsOnTestContent (line 833) In matlab.unittest/TestRunner/runTestMethod (line 1215) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/runTestMethod (line 648) In scoringengine/OutputPlugin/runTestMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestMethod (line 648) In scoringengine/FiguresPlugin/runTestMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/runTest (line 1162) In matlab.unittest/TestRunner/repeatTest (line 517) In matlab.unittest/TestRunner/runSharedTestCase (line 472) In matlab.unittest/TestRunner/runTestClass (line 1068) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/runTestSuite (line 997) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In scoringengine/OutputPlugin/runTestSuite In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In scoringengine/FiguresPlugin/runTestSuite In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In matlab.unittest.plugins/DiagnosticsRecordingPlugin/runTestSuite (line 201) In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodOnPluginsFromMethodName (line 425) In matlab.unittest.internal/SerialTestRunStrategy/runTestSuite (line 30) In matlab.unittest.internal/SerialTestRunStrategy/runSession (line 15) In matlab.unittest/TestRunner/runSession (line 958) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodOnPluginsFromMethodName (line 425) In matlab.unittest/TestRunner/doRunWithFcn (line 408) In matlab.unittest/TestRunner/run (line 296) In scoringengine.verifyCode In scoringengine.verifyCode In connector.internal.fevalMatlab In connector.internal.fevalJSON ]

2   Pass
x = 7; y_correct = 8256; assert(isequal(sum_int(x),y_correct))

[Warning: Colon operands must be real scalars.] [> In sum_int (line 3) In ScoringEngineTestPoint2 (line 3) In solutionTest (line 5) 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.internal/FunctionTestCase/test (line 72) In matlab.unittest/TestRunner/evaluateMethodCore (line 891) In matlab.unittest/TestRunner/evaluateMethod (line 1219) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/evaluateMethod (line 729) In scoringengine/OutputPlugin/evaluateMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/evaluateMethod (line 729) In scoringengine/FiguresPlugin/evaluateMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodsOnTestContent (line 833) In matlab.unittest/TestRunner/runTestMethod (line 1215) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/runTestMethod (line 648) In scoringengine/OutputPlugin/runTestMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestMethod (line 648) In scoringengine/FiguresPlugin/runTestMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/runTest (line 1162) In matlab.unittest/TestRunner/repeatTest (line 517) In matlab.unittest/TestRunner/runSharedTestCase (line 472) In matlab.unittest/TestRunner/runTestClass (line 1068) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/runTestSuite (line 997) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In scoringengine/OutputPlugin/runTestSuite In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In scoringengine/FiguresPlugin/runTestSuite In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In matlab.unittest.plugins/DiagnosticsRecordingPlugin/runTestSuite (line 201) In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodOnPluginsFromMethodName (line 425) In matlab.unittest.internal/SerialTestRunStrategy/runTestSuite (line 30) In matlab.unittest.internal/SerialTestRunStrategy/runSession (line 15) In matlab.unittest/TestRunner/runSession (line 958) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodOnPluginsFromMethodName (line 425) In matlab.unittest/TestRunner/doRunWithFcn (line 408) In matlab.unittest/TestRunner/run (line 296) In scoringengine.verifyCode In scoringengine.verifyCode In connector.internal.fevalMatlab In connector.internal.fevalJSON ]

3   Pass
x = 10; y_correct = 524800; assert(isequal(sum_int(x),y_correct))

[Warning: Colon operands must be real scalars.] [> In sum_int (line 3) In ScoringEngineTestPoint3 (line 3) In solutionTest (line 7) 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.internal/FunctionTestCase/test (line 72) In matlab.unittest/TestRunner/evaluateMethodCore (line 891) In matlab.unittest/TestRunner/evaluateMethod (line 1219) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/evaluateMethod (line 729) In scoringengine/OutputPlugin/evaluateMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/evaluateMethod (line 729) In scoringengine/FiguresPlugin/evaluateMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodsOnTestContent (line 833) In matlab.unittest/TestRunner/runTestMethod (line 1215) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/runTestMethod (line 648) In scoringengine/OutputPlugin/runTestMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestMethod (line 648) In scoringengine/FiguresPlugin/runTestMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/runTest (line 1162) In matlab.unittest/TestRunner/repeatTest (line 517) In matlab.unittest/TestRunner/runSharedTestCase (line 472) In matlab.unittest/TestRunner/runTestClass (line 1068) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/runTestSuite (line 997) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In scoringengine/OutputPlugin/runTestSuite In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In scoringengine/FiguresPlugin/runTestSuite In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In matlab.unittest.plugins/DiagnosticsRecordingPlugin/runTestSuite (line 201) In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodOnPluginsFromMethodName (line 425) In matlab.unittest.internal/SerialTestRunStrategy/runTestSuite (line 30) In matlab.unittest.internal/SerialTestRunStrategy/runSession (line 15) In matlab.unittest/TestRunner/runSession (line 958) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodOnPluginsFromMethodName (line 425) In matlab.unittest/TestRunner/doRunWithFcn (line 408) In matlab.unittest/TestRunner/run (line 296) In scoringengine.verifyCode In scoringengine.verifyCode In connector.internal.fevalMatlab In connector.internal.fevalJSON ]

4   Pass
x = 11; y_correct = 2098176; assert(isequal(sum_int(x),y_correct))

[Warning: Colon operands must be real scalars.] [> In sum_int (line 3) In ScoringEngineTestPoint4 (line 3) In solutionTest (line 9) 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.internal/FunctionTestCase/test (line 72) In matlab.unittest/TestRunner/evaluateMethodCore (line 891) In matlab.unittest/TestRunner/evaluateMethod (line 1219) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/evaluateMethod (line 729) In scoringengine/OutputPlugin/evaluateMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/evaluateMethod (line 729) In scoringengine/FiguresPlugin/evaluateMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodsOnTestContent (line 833) In matlab.unittest/TestRunner/runTestMethod (line 1215) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/runTestMethod (line 648) In scoringengine/OutputPlugin/runTestMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestMethod (line 648) In scoringengine/FiguresPlugin/runTestMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/runTest (line 1162) In matlab.unittest/TestRunner/repeatTest (line 517) In matlab.unittest/TestRunner/runSharedTestCase (line 472) In matlab.unittest/TestRunner/runTestClass (line 1068) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/runTestSuite (line 997) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In scoringengine/OutputPlugin/runTestSuite In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In scoringengine/FiguresPlugin/runTestSuite In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In matlab.unittest.plugins/DiagnosticsRecordingPlugin/runTestSuite (line 201) In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodOnPluginsFromMethodName (line 425) In matlab.unittest.internal/SerialTestRunStrategy/runTestSuite (line 30) In matlab.unittest.internal/SerialTestRunStrategy/runSession (line 15) In matlab.unittest/TestRunner/runSession (line 958) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodOnPluginsFromMethodName (line 425) In matlab.unittest/TestRunner/doRunWithFcn (line 408) In matlab.unittest/TestRunner/run (line 296) In scoringengine.verifyCode In scoringengine.verifyCode In connector.internal.fevalMatlab In connector.internal.fevalJSON ]

5   Pass
x = 14; y_correct = 134225920; assert(isequal(sum_int(x),y_correct))

[Warning: Colon operands must be real scalars.] [> In sum_int (line 3) In ScoringEngineTestPoint5 (line 3) In solutionTest (line 11) 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.internal/FunctionTestCase/test (line 72) In matlab.unittest/TestRunner/evaluateMethodCore (line 891) In matlab.unittest/TestRunner/evaluateMethod (line 1219) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/evaluateMethod (line 729) In scoringengine/OutputPlugin/evaluateMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/evaluateMethod (line 729) In scoringengine/FiguresPlugin/evaluateMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodsOnTestContent (line 833) In matlab.unittest/TestRunner/runTestMethod (line 1215) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/runTestMethod (line 648) In scoringengine/OutputPlugin/runTestMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestMethod (line 648) In scoringengine/FiguresPlugin/runTestMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/runTest (line 1162) In matlab.unittest/TestRunner/repeatTest (line 517) In matlab.unittest/TestRunner/runSharedTestCase (line 472) In matlab.unittest/TestRunner/runTestClass (line 1068) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/runTestSuite (line 997) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In scoringengine/OutputPlugin/runTestSuite In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In scoringengine/FiguresPlugin/runTestSuite In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In matlab.unittest.plugins/DiagnosticsRecordingPlugin/runTestSuite (line 201) In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodOnPluginsFromMethodName (line 425) In matlab.unittest.internal/SerialTestRunStrategy/runTestSuite (line 30) In matlab.unittest.internal/SerialTestRunStrategy/runSession (line 15) In matlab.unittest/TestRunner/runSession (line 958) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodOnPluginsFromMethodName (line 425) In matlab.unittest/TestRunner/doRunWithFcn (line 408) In matlab.unittest/TestRunner/run (line 296) In scoringengine.verifyCode In scoringengine.verifyCode In connector.internal.fevalMatlab In connector.internal.fevalJSON ]

6   Pass
x = 17; y_correct = 8590000128; assert(isequal(sum_int(x),y_correct))

[Warning: Colon operands must be real scalars.] [> In sum_int (line 3) In ScoringEngineTestPoint6 (line 3) In solutionTest (line 13) 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.internal/FunctionTestCase/test (line 72) In matlab.unittest/TestRunner/evaluateMethodCore (line 891) In matlab.unittest/TestRunner/evaluateMethod (line 1219) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/evaluateMethod (line 729) In scoringengine/OutputPlugin/evaluateMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/evaluateMethod (line 729) In scoringengine/FiguresPlugin/evaluateMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodsOnTestContent (line 833) In matlab.unittest/TestRunner/runTestMethod (line 1215) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/runTestMethod (line 648) In scoringengine/OutputPlugin/runTestMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestMethod (line 648) In scoringengine/FiguresPlugin/runTestMethod In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/runTest (line 1162) In matlab.unittest/TestRunner/repeatTest (line 517) In matlab.unittest/TestRunner/runSharedTestCase (line 472) In matlab.unittest/TestRunner/runTestClass (line 1068) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/runTestSuite (line 997) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In scoringengine/OutputPlugin/runTestSuite In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In scoringengine/FiguresPlugin/runTestSuite In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest.plugins/TestRunnerPlugin/runTestSuite (line 265) In matlab.unittest.plugins/DiagnosticsRecordingPlugin/runTestSuite (line 201) In matlab.unittest.plugins/TestRunnerPlugin/invokeTestContentOperatorMethod_ (line 760) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodOnPluginsFromMethodName (line 425) In matlab.unittest.internal/SerialTestRunStrategy/runTestSuite (line 30) In matlab.unittest.internal/SerialTestRunStrategy/runSession (line 15) In matlab.unittest/TestRunner/runSession (line 958) In matlab.unittest/TestRunner/invokeTestContentOperatorMethod_ (line 946) In matlab.unittest/TestRunner/evaluateMethodOnPlugins (line 437) In matlab.unittest/TestRunner/evaluateMethodOnPluginsFromMethodName (line 425) In matlab.unittest/TestRunner/doRunWithFcn (line 408) In matlab.unittest/TestRunner/run (line 296) In scoringengine.verifyCode In scoringengine.verifyCode In connector.internal.fevalMatlab In connector.internal.fevalJSON ]

Suggested Problems

More from this Author1

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!