/// <inheritdoc /> protected bool Equals(Orbit other) { return(MeanAnomoly.Equals(other.MeanAnomoly) && AscendingNode.Equals(other.AscendingNode) && ArgumentPerigee.Equals(other.ArgumentPerigee) && MeanMotion.Equals(other.MeanMotion) && RecoveredSemiMajorAxis.Equals(other.RecoveredSemiMajorAxis) && RecoveredMeanMotion.Equals(other.RecoveredMeanMotion) && Perigee.Equals(other.Perigee) && Apogee.Equals(other.Apogee) && Period.Equals(other.Period) && Epoch.Equals(other.Epoch) && BStar.Equals(other.BStar) && Eccentricity.Equals(other.Eccentricity) && Inclination.Equals(other.Inclination)); }
public void EpochTest_InvalidTypeReturnsFalse() { Epoch e1 = new Epoch(5, 3); Assert.IsFalse(e1.Equals(new object())); }
public void EpochTest_NullReturnsFalse() { Epoch e1 = new Epoch(5, 3); Assert.IsFalse(e1.Equals(null)); }