public void ClearDataEventTest()
        {
            FlightData data = new FlightData()
            {
                AltitudeFt = 1
            };
            FlightDataUpdatedEventArgs argsToVerify = null;

            data.OnFlightDataUpdate += (object sender, FlightDataUpdatedEventArgs args) => { argsToVerify = args; };

            data.ClearData();

            Assert.IsNotNull(argsToVerify);
            Assert.AreEqual(FlightDataUpdatedEventArgs.FlightDataField.All, argsToVerify.Field);
            Assert.IsNull(data.AltitudeFt);
        }
        public void ClearDataTest()
        {
            FlightData fd = DEFAULT_DATA;

            fd.ClearData();
            Assert.IsNull(fd.AltitudeFt);
            Assert.IsNull(fd.AltitudeMeters);
            Assert.IsNull(fd.GroundSpeedKt);
            Assert.IsNull(fd.GroundSpeedMPS);
            Assert.IsNull(fd.GroundTrackDegrees);
            Assert.IsNull(fd.GroundTrackRadians);
            Assert.IsNull(fd.Latitude);
            Assert.IsNull(fd.Longitude);
            Assert.IsNull(fd.PitchDegrees);
            Assert.IsNull(fd.PitchRadians);
            Assert.IsNull(fd.RollDegrees);
            Assert.IsNull(fd.RollRadians);
        }