Beispiel #1
0
        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);
        }
Beispiel #2
0
        public void ApparentEccentricityTest(double e, double i, double w, double expectedApparentEccentricity)
        {
            double apparentEccentricity = AASBinaryStar.ApparentEccentricity(e, i, w);

            Assert.Equal(expectedApparentEccentricity, apparentEccentricity);
        }