Fix tests

This commit is contained in:
Morten Nielsen 2020-07-29 17:08:13 -07:00
parent dce526f383
commit d8d3c3b119

View file

@ -201,7 +201,7 @@ namespace NmeaParser.Tests
Assert.AreEqual(-22.1, gga.GeoidalSeparation);
Assert.AreEqual("M", gga.GeoidalSeparationUnits);
Assert.AreEqual(-1, gga.DgpsStationId);
Assert.AreEqual(TimeSpan.MaxValue, gga.TimeSinceLastDgpsUpdate);
Assert.IsNull(gga.TimeSinceLastDgpsUpdate);
}
[TestMethod]
@ -575,7 +575,7 @@ namespace NmeaParser.Tests
Assert.AreEqual(1.4, gns.Hdop);
Assert.AreEqual(402.411, gns.OrthometricHeight);
Assert.AreEqual(-32.133, gns.GeoidalSeparation);
Assert.AreEqual(TimeSpan.MaxValue, gns.TimeSinceLastDgpsUpdate);
Assert.IsNull(gns.TimeSinceLastDgpsUpdate);
Assert.AreEqual(null, gns.DgpsStationId);
Assert.AreEqual(Gns.NavigationalStatus.NotValid, gns.Status);
}