You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2016/05/07 01:19:12 UTC

[jira] [Resolved] (MATH-1349) Addition of Complex[] related methods to TestUtils

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

Gilles resolved MATH-1349.
--------------------------
    Resolution: Fixed

Code is in branch "feature-MATH-1290".

> Addition of Complex[] related methods to TestUtils
> --------------------------------------------------
>
>                 Key: MATH-1349
>                 URL: https://issues.apache.org/jira/browse/MATH-1349
>             Project: Commons Math
>          Issue Type: Sub-task
>    Affects Versions: 4.0
>            Reporter: Eric Barnhill
>            Priority: Trivial
>             Fix For: 4.0
>
>         Attachments: TestUtils.java
>
>
> To enable efficient JUnit testing of the Complex[] to float[] / double[] operations in Complex Utils, two methods were added to TestUtils:
> public static void assertEquals(String msg, float[] expected, float[] observed, float tolerance)
> public static void assertEquals(String msg, Complex[] expected, Complex[] observed, double tolerance)
> patch attached



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)