public void CalculateTest(double t, double P, double T, double e, double a, double i, double omega, double w, double expectedR, double expectedRho, double expectedTheta) { AASBinaryStarDetails bsdetails = AASBinaryStar.Calculate(t, P, T, e, a, i, omega, w); Assert.Equal(expectedR, bsdetails.r); Assert.Equal(expectedRho, bsdetails.Rho); Assert.Equal(expectedTheta, bsdetails.Theta); }
public void ApparentEccentricityTest(double e, double i, double w, double expectedApparentEccentricity) { double apparentEccentricity = AASBinaryStar.ApparentEccentricity(e, i, w); Assert.Equal(expectedApparentEccentricity, apparentEccentricity); }