@Test
public void testCalculateYearlyWeightedAverage()
{

    double avg = AnalyticsUtils.calculateYearlyWeightedAverage( 10D, 20D, 9D );
    assertEquals( 17.5, avg, 0 );
    avg = AnalyticsUtils.calculateYearlyWeightedAverage( 10D, -20D, 9D );
    assertEquals( -12.5, avg, 0);
}