You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Luc Maisonobe (JIRA)" <ji...@apache.org> on 2008/01/22 22:02:34 UTC
[jira] Resolved: (MATH-179) Fraction tests for double Constructor
[ https://issues.apache.org/jira/browse/MATH-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luc Maisonobe resolved MATH-179.
--------------------------------
Resolution: Fixed
applied patch, thanks!
New tests are always welcome. I have also added a test that triggers an exception, using the well known golden ratio which is a kind of extreme irrational number.
> Fraction tests for double Constructor
> -------------------------------------
>
> Key: MATH-179
> URL: https://issues.apache.org/jira/browse/MATH-179
> Project: Commons Math
> Issue Type: Test
> Reporter: Niall Pemberton
> Priority: Minor
> Attachments: MATH-FractionConstructorDouble.patch
>
>
> I was looking at borrowing some code from Fraction and the constructor that takes a double doesn't seem to have much tests. Attaching a patch - if I've missed something or these tests are a waste of time or its covered well elsewhere then please ignore this.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.