Skip to content

Commit

Permalink
BF: Unittests
Browse files Browse the repository at this point in the history
  • Loading branch information
bassmaster187 committed Aug 27, 2024
1 parent a14e6f5 commit 0089fee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UnitTestsTeslalogger/UnitTestsGeocode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void Japan()
public void MietingenMehrzweckhalle()
{
string temp = WebHelper.ReverseGecocodingAsync(c, 48.1850756, 9.9016996, true).Result;
Assert.AreEqual("88487 Mietingen, Tulpenweg 20", temp); // should be "88487 Mietingen, Tulpenweg 20" but nominatim doesn't provide Mietingen as village
Assert.AreEqual("88487 Walpertshofen, Tulpenweg 20", temp); // should be "88487 Mietingen, Tulpenweg 20" but nominatim doesn't provide Mietingen as village
Assert.AreEqual("de", c.CurrentJSON.current_country_code);
Assert.AreEqual("Baden-Württemberg", c.CurrentJSON.current_state);
}
Expand All @@ -109,7 +109,7 @@ public void ApothekeWiblingen()
public void Lat0Lng0()
{
string temp = WebHelper.ReverseGecocodingAsync(c, 0, 0, true).Result;
Assert.AreEqual("- , ", temp);
Assert.AreEqual("", temp);
}

[TestMethod]
Expand Down

0 comments on commit 0089fee

Please sign in to comment.