public void TrueInferiorConjunctionTest(double k, PlanetaryObject planetaryObject, EventType eventType, double expectedInferiorConjunction) { double inferiorConjunction = AASPlanetaryPhenomena.True(k, planetaryObject, eventType); Assert.Equal(expectedInferiorConjunction, inferiorConjunction); }
public void ElongationValueTest(double k, PlanetaryObject planetaryObject, bool bEastern, double expectedElongationValue) { double elongationValue = AASPlanetaryPhenomena.ElongationValue(k, planetaryObject, bEastern); Assert.Equal(expectedElongationValue, elongationValue); }
public void KTest(double year, PlanetaryObject planetaryObject, EventType eventType, double expectedK) { double k = AASPlanetaryPhenomena.K(year, planetaryObject, eventType); Assert.Equal(expectedK, k); }