public void TropesphericLoss(double a, double b, double c) { TropesphericModel m = new TropesphericModel(); double d = m.CalculateTheLossDueToTropesphere(a, b); Assert.AreEqual(c, d, 0.0001); }
public void Tropesphere_Calculate_Values_At_Height(double pHeight, double a1, double b1, double c1, double d1) { double a, b, c, d; model_ = new TropesphericModel(); model_.CalculateValuesAtHeght(pHeight, out a, out b, out c, out d); Assert.AreEqual(a1, a, 0.0000000001); Assert.AreEqual(b1, b, 0.0000000001); Assert.AreEqual(c1, c, 0.0000000001); Assert.AreEqual(d1, d, 0.0000000001); }