Пример #1
0
        public void SpawnTrackFromTrackFactory()
        {
            ITrack testTrack = _uut.SpawnTrack("PIE284;29388;49932;2000;20151006213456789");

            Assert.That(testTrack.Tag, Is.EqualTo("PIE284"));
            Assert.That(testTrack.XCoord, Is.EqualTo(29388));
            Assert.That(testTrack.YCoord, Is.EqualTo(49932));
            Assert.That(testTrack.Altitude, Is.EqualTo(2000));

            var tesTime = new DateTime(2015, 10, 06, 21, 34, 56, 789);

            Assert.That(testTrack.TimeStamp, Is.EqualTo(tesTime));
        }