[Groonga-commit] groonga/groonga [master] test: add missing support "4th to 3rd" as the value of quadrant

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 10日 (火) 14:31:40 JST


HAYASHI Kentaro	2012-07-10 14:31:40 +0900 (Tue, 10 Jul 2012)

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

  Log:
    test: add missing support "4th to 3rd" as the value of quadrant
    
    refs #1421

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

  Modified: test/function/tools/geo/generate-grntest-data.rb (+1 -1)
===================================================================
--- test/function/tools/geo/generate-grntest-data.rb    2012-07-10 13:49:59 +0900 (ac744ee)
+++ test/function/tools/geo/generate-grntest-data.rb    2012-07-10 14:31:40 +0900 (7501ce5)
@@ -605,7 +605,7 @@ class GrnTestData
           (east_distance + west_distance).floor
         else
           case quadrant
-          when "1st_to_2nd"
+          when "1st_to_2nd", "4th_to_3rd"
             rounded_longitude = @longitude_end_degree + 360
             rounded_latitude = @latitude_end_degree
             longitude_delta = rounded_longitude - @longitude_start_degree
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index