@Test
public void testSeasonalFactorComputation() {

    double meanEarthSunDist = 149.60e+06 * 1000;
    final double sunEarthDistanceSquare = meanEarthSunDist * meanEarthSunDist;
    final double vStart = Utils.computeSeasonalFactor(0, sunEarthDistanceSquare);
    assertEquals(1, vStart, 0.05);
    assertTrue(vStart < 1.0);
    final double vMid = Utils.computeSeasonalFactor(0.5 * 365, sunEarthDistanceSquare);
    assertEquals(1, vMid, 0.05);
    assertTrue(vMid > 1.0);
    final double vEnd = Utils.computeSeasonalFactor(365, sunEarthDistanceSquare);
    assertEquals(1, vEnd, 0.05);
    assertTrue(vEnd < 1.0);
}