You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/06/14 01:54:23 UTC

DO NOT REPLY [Bug 20773] New: - [math] exponential distribution test cases

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20773>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20773

[math] exponential distribution test cases

           Summary: [math] exponential distribution test cases
           Product: Commons
           Version: 1.0 Alpha
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Sandbox
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: brent@worden.org


I added gracefull NaN domain checking for the exponential distribution and also 
added some test cases for it.

There's a bug in JUnit's assertEquals(double expected, double actual, double 
delta) that doesn't account for NaN values.  Because I'm now doing a lot of 
testing for NaN I create a TestUtils class to ecapsulate proper handling of 
this situation.  Hopefully, others will find it useful.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org