public void TrackIsRemoved_XCoord_OutofBoundsUpper()
        {
            trackObject.XCoord = MaxCoord + 1;
            trackObjects.Add(trackObject);
            _uut.IsTrackInMonitoredAirspace(trackObjects);

            Assert.That(_uut.filteredTrackObjects, Is.Empty);
        }
Exemplo n.º 2
0
        public void MakeTrack(object sender, RawTransponderDataEventArgs e)
        {
            {
                trackObjects.Clear();
            }

            foreach (var data in e.TransponderData) //foreach string in the stringlist
            {
                var trackData = TransponderParser(data);

                var track = new TrackObject(trackData)
                {
                    PrettyTimeStamp = FormatTimestamp(trackData[4])
                };


                trackObjects.Add(track);
            }

            _trackingFiltering.IsTrackInMonitoredAirspace(trackObjects);
        }