commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Barnhill (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MATH-1349) Addition of array-based methods to TestUtils
Date Sat, 26 Mar 2016 19:50:25 GMT
Eric Barnhill created MATH-1349:
-----------------------------------

             Summary: Addition of array-based 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


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)

Mime
View raw message