public void BearingTo_Valid_Assert() { var pointA = new Coordinate("50 21 59N", "004 08 02W"); var pointB = new Coordinate("42 21 04N", "071 02 27W"); double result = pointA.BearingTo(pointB); System.Diagnostics.Debug.WriteLine(string.Format(new DegreeMinuteSecondFormatInfo(), "{0:DMS}", result)); Assert.IsTrue(result.WithinTolerance(286.895294733006), result.ToString()); }