[Groonga-commit] groonga/groonga [master] follow geopoint conversion logic change.

Zurück zum Archiv-Index

null+****@clear***** null+****@clear*****
2010年 9月 9日 (木) 11:58:58 JST


Kouhei Sutou	2010-09-09 02:58:58 +0000 (Thu, 09 Sep 2010)

  New Revision: 5fdb9ceb4ffc6be436ce0ff2291082511b6fdbab

  Log:
    follow geopoint conversion logic change.

  Modified files:
    test/unit/core/test-inspect.c
    test/unit/story/test-taiyaki.c

  Modified: test/unit/core/test-inspect.c (+3 -3)
===================================================================
--- test/unit/core/test-inspect.c    2010-09-09 02:55:53 +0000 (86833d4)
+++ test/unit/core/test-inspect.c    2010-09-09 02:58:58 +0000 (5dd99f6)
@@ -370,10 +370,10 @@ test_geo_point_wgs84(void)
   geo_point_wgs84 = grn_obj_open(context, GRN_BULK, 0, GRN_DB_WGS84_GEO_POINT);
   GRN_GEO_POINT_SET(context, geo_point_wgs84, takane_latitude, takane_longitude);
   inspected = grn_inspect(context, NULL, geo_point_wgs84);
-  cut_assert_equal_string("[(128515283,502419564) "
-                          "((35, 41, 55, 283),(139, 33, 39, 564)) "
+  cut_assert_equal_string("[(128515284,502419564) "
+                          "((35, 41, 55, 284),(139, 33, 39, 564)) "
                           "[00000001 01111011 11011101 10000100 "
-                          "10111011 10100000 10110110 01011010]]",
+                          "10111011 10100000 10110110 01110000]]",
                           inspected_string());
 }
 

  Modified: test/unit/story/test-taiyaki.c (+1 -1)
===================================================================
--- test/unit/story/test-taiyaki.c    2010-09-09 02:55:53 +0000 (0d3e5b8)
+++ test/unit/story/test-taiyaki.c    2010-09-09 02:58:58 +0000 (fe45903)
@@ -238,7 +238,7 @@ test_filter_by_tag_and_sort_by_distance_from_tokyo_tocho(void)
     "[\"代官山たい焼き黒鯛\",4497],"
     "[\"たいやきひいらぎ\",4965],"
     "[\"たいやき工房白家 阿佐ヶ谷店\",5102],"
-    "[\"たいやき本舗 藤家 阿佐ヶ谷店\",5171]"
+    "[\"たいやき本舗 藤家 阿佐ヶ谷店\",5172]"
     "]]",
     send_command(
       cut_take_printf(




Groonga-commit メーリングリストの案内
Zurück zum Archiv-Index