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)

Reply via email to