HAYASHI Kentaro
null+****@clear*****
Wed Oct 31 18:20:55 JST 2012
HAYASHI Kentaro 2012-10-31 18:20:55 +0900 (Wed, 31 Oct 2012) New Revision: 2de9b5e4d07dfd665e6acd6b5faa90c8304ef9cd https://github.com/groonga/groonga/commit/2de9b5e4d07dfd665e6acd6b5faa90c8304ef9cd Log: test: support to generate calculated distance from 4th quadrant to 1st 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:18:15 +0900 (747c191) +++ test/command/tools/geo/generate-grntest-data.rb 2012-10-31 18:20:55 +0900 (96cd902) @@ -569,7 +569,7 @@ class GrnTestData @longitude_end.to_i, @latitude_end.to_i) (east_distance + west_distance).floor - when "1st_to_4th" + when "1st_to_4th", "4th_to_1st" 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