[geocode-glib] test: Update test data against latest Nominatim data
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geocode-glib] test: Update test data against latest Nominatim data
- Date: Wed, 16 Dec 2015 15:00:31 +0000 (UTC)
commit 45837dcce0055fb1fc37b4133b24527a8e61bc00
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Nov 23 19:05:04 2015 +0000
test: Update test data against latest Nominatim data
This fixes `make check`.
https://bugzilla.gnome.org/show_bug.cgi?id=758107
geocode-glib/test-gcglib.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/geocode-glib/test-gcglib.c b/geocode-glib/test-gcglib.c
index bbdd589..511ced6 100644
--- a/geocode-glib/test-gcglib.c
+++ b/geocode-glib/test-gcglib.c
@@ -204,8 +204,8 @@ test_xep (void)
place = res->data;
loc = geocode_place_get_location (place);
g_assert (loc != NULL);
- g_assert_cmpfloat (geocode_location_get_latitude (loc), ==, 51.2371416);
- g_assert_cmpfloat (geocode_location_get_longitude (loc), ==, -0.5894088);
+ g_assert_cmpfloat (geocode_location_get_latitude (loc), ==, 51.2371333);
+ g_assert_cmpfloat (geocode_location_get_longitude (loc), ==, -0.5894036);
g_object_unref (place);
g_list_free (res);
@@ -237,7 +237,7 @@ test_pub (void)
g_assert (loc != NULL);
g_assert_cmpfloat (geocode_location_get_latitude (loc), ==, 51.2368747);
- g_assert_cmpfloat (geocode_location_get_longitude (loc), ==, -0.5912356);
+ g_assert_cmpfloat (geocode_location_get_longitude (loc), ==, -0.5912357);
g_object_unref (place);
g_list_free (res);
@@ -338,8 +338,8 @@ test_search_lat_long (void)
g_assert_cmpfloat (geocode_location_get_latitude (loc) - 21.803641, <, 0.000001);
g_assert_cmpfloat (geocode_location_get_longitude (loc) - -100.736292, <, 0.000001);
g_assert (bbox_includes_location (bbox, geocode_place_get_location (place)));
- g_assert_cmpstr (geocode_place_get_name (place), ==, "Santa Maria Del Rio, Santa Mar\303\255a del
Rio");
- g_assert_cmpstr (geocode_location_get_description (loc), ==, "Santa Maria Del Rio, Santa Mar\303\255a
del Rio");
+ g_assert_cmpstr (geocode_place_get_name (place), ==, "Santa Maria Del Rio, Santa Mar\303\255a del
R\303\255o");
+ g_assert_cmpstr (geocode_location_get_description (loc), ==, "Santa Maria Del Rio, Santa Mar\303\255a
del R\303\255o");
g_list_free_full (res, (GDestroyNotify) g_object_unref);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]