opensubscriber
   Find in this group all groups
 
Unknown more information…

i : issues@commons.apache.org 9 September 2009 • 6:13PM -0400

[jira] Resolved: (MATH-292) TestUtils.assertRelativelyEquals() generates misleading error on failure
by Sebb (JIRA)

REPLY TO AUTHOR
 
REPLY TO GROUP





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

Sebb resolved MATH-292.
-----------------------

    Resolution: Fixed

URL: http://svn.apache.org/viewvc?rev=812871&view=rev
Log:
MATH-292 TestUtils.assertRelativelyEquals() generates misleading error on failure

> TestUtils.assertRelativelyEquals() generates misleading error on failure
> ------------------------------------------------------------------------
>
>                 Key: MATH-292
>                 URL: https://issues.apache.org/jira/browse/MATH-292
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Sebb
>         Attachments: MATH-292.patch
>
>
> TestUtils.assertRelativelyEquals() generates misleading error on failure.
> For example:
> TestUtils.assertRelativelyEquals(1.0, 0.10427661385154971, 1.0e-9)
> generates the error message:
> junit.framework.AssertionFailedError: expected:<0.0> but was:<0.8957233861484503>
> which is not very helpful.

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

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.