Skip to content

Develop3 #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions source/quadraticSolver.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
% Copyright 2021 The MathWorks, Inc.



if ~isa(a,'numeric') || ~isa(b,'numeric') || ~isa(c,'numeric')
error('quadraticSolver:InputMustBeNumeric', ...
'Coefficients must be numeric.');
Expand Down
18 changes: 14 additions & 4 deletions test.junit.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="COBRA Toolbox Test Suites" tests="5" failures="1" errors="1" time="4.187">
<testsuite name="COBRA Toolbox Test Suite" tests="5" failures="1" errors="1" skipped="1" time="4.187">

<!-- 1) Test with an 'error' -->
<testcase classname="COBRA Toolbox" name="testBiomassPrecursorCheck.m" time="2.405">
<error message="Undefined function &apos;glpkcc&apos; for input arguments of type &apos;struct&apos;."/>
<error message="Undefined function 'glpkcc' for input arguments of type 'struct'."/>
</testcase>
<testcase classname="COBRA Toolbox" name="testCalculateFluxShifts.m" time="0.459"/>

<!-- 2) Test with a 'failure' (added to make two failing tests total) -->
<testcase classname="COBRA Toolbox" name="testCalculateFluxShifts.m" time="0.459">
<failure message="Flux shift calculation mismatch."/>
</testcase>

<testcase classname="COBRA Toolbox" name="testCalculatePercentile.m" time="1.067"/>
<testcase classname="COBRA Toolbox" name="testGeneExpressionComparison.m" time="0.138"/>

<!-- Still skipped -->
<testcase classname="COBRA Toolbox" name="testConnectedComponents.m" time="0.118">
<skipped message="The test requires the following Toolboxes to be installed: image_toolbox
"/>
<skipped message="The test requires the following Toolboxes to be installed: image_toolbox"/>
</testcase>

</testsuite>
</testsuites>