コード例 #1
0
 public void TestParseWithNoFractionalSeconds()
 {
     Assertions.AreApproximatelyEqual(33.600556, LatLongParser.ParseString(@"33° 36' 2"""));
 }
コード例 #2
0
 public void TestParsePositiveOne()
 {
     Assertions.AreApproximatelyEqual(47.7053278, LatLongParser.ParseString(@"47° 42' 19.18"""));
 }
コード例 #3
0
 public void TestParseNegativeOne()
 {
     Assertions.AreApproximatelyEqual(-122.204028, LatLongParser.ParseString(@"-122° 12' 14.5"""));
 }