You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Christian Semrau (JIRA)" <ji...@apache.org> on 2009/01/20 22:12:59 UTC

[jira] Updated: (MATH-242) Missing tests in MathUtilsTest

     [ https://issues.apache.org/jira/browse/MATH-242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Semrau updated MATH-242:
----------------------------------

    Attachment: MathUtilsTestPatch.txt

For binomialCoefficient, I slightly improved the test implementation to reduce stack depth, added some more tests and improved binomialCoefficientLog by using symmetry.

For many methods, I added assertions for untested special cases.

The sign methods were not tested at all.


> Missing tests in MathUtilsTest
> ------------------------------
>
>                 Key: MATH-242
>                 URL: https://issues.apache.org/jira/browse/MATH-242
>             Project: Commons Math
>          Issue Type: Test
>    Affects Versions: 2.0
>            Reporter: Christian Semrau
>            Priority: Minor
>         Attachments: MathUtilsTestPatch.txt
>
>
> Using EclEmma, I spotted some methods and special cases in MathUtils that were not tested. I will attach a patch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.