[Groonga-commit] groonga/groonga [master] test: support to generate calculated distance from 2nd quadrant to 3rd one

Back to archive index

HAYASHI Kentaro null+****@clear*****
Thu Nov 1 14:04:22 JST 2012


HAYASHI Kentaro	2012-11-01 14:04:22 +0900 (Thu, 01 Nov 2012)

  New Revision: e2e1d01256dfb1410de8564f1308247163703667
  https://github.com/groonga/groonga/commit/e2e1d01256dfb1410de8564f1308247163703667

  Log:
    test: support to generate calculated distance from 2nd quadrant to 3rd one

  Modified files:
    test/command/tools/geo/generate-grntest-data.rb

  Modified: test/command/tools/geo/generate-grntest-data.rb (+1 -1)
===================================================================
--- test/command/tools/geo/generate-grntest-data.rb    2012-10-31 18:45:57 +0900 (96cd902)
+++ test/command/tools/geo/generate-grntest-data.rb    2012-11-01 14:04:22 +0900 (10790ca)
@@ -569,7 +569,7 @@ class GrnTestData
                                              @longitude_end.to_i,
                                              @latitude_end.to_i)
           (east_distance + west_distance).floor
-        when "1st_to_4th", "4th_to_1st"
+        when "1st_to_4th", "4th_to_1st", "2nd_to_3rd"
           longitude_delta = @longitude_end_degree - @longitude_start_degree
           latitude_delta = @latitude_end_degree - @latitude_start_degree
           if longitude_delta.to_f == 0
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index