I'm getting a failure on AggregationServiceTest (line 286)

assertEquals( 193.3, aggregationService.getAggregatedDataValue(
dataElementA, categoryOptionCombo, mar01, may31, unitB ), 0.1

Using ubuntu 9.10 (sun jvm 1.6.0_14)  I get 193.8068181818186.  Anyone
else have this?

If I'm understanding the data and the algorithm correctly then the
result should indeed be 193.3.  But there seems to be some floating
point errors crept in, at least on my platform.

Cheers
Bob

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to