public void GetMoonIllumination_returns_angle_of_moons_illuminated_limb() { var moonIllumination = MoonCalc.GetMoonIllumination(_date); moonIllumination.Angle.Should().BeApproximately(1.6732942678578346, 1e-15); }
public void GetMoonIllumination_returns_phase_of_moon() { var moonIllumination = MoonCalc.GetMoonIllumination(_date); moonIllumination.Phase.Should().Be(MoonPhase.WaningCrescent); }
public void GetMoonIllumination_returns_fraction_of_moons_illuminated_limb() { var moonIllumination = MoonCalc.GetMoonIllumination(_date); moonIllumination.Fraction.Should().BeApproximately(0.4848068202456373, 1e-15); }