[Groonga-commit] groonga/groonga [master] test: add more condition check about quadrant

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 15日 (金) 15:57:11 JST


HAYASHI Kentaro	2012-06-15 15:57:11 +0900 (Fri, 15 Jun 2012)

  New Revision: b45d7e9e2813ca09c5c0ea8b11dd86a061d72b42

  Log:
    test: add more condition check about quadrant

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

  Modified: test/function/tools/geo/generate-grntest-data.rb (+12 -1)
===================================================================
--- test/function/tools/geo/generate-grntest-data.rb    2012-06-15 16:34:55 +0900 (f81db80)
+++ test/function/tools/geo/generate-grntest-data.rb    2012-06-15 15:57:11 +0900 (c236912)
@@ -411,8 +411,19 @@ class GrnTestData
          within_specified_quadrant?("3rd") or
          within_specified_quadrant?("4th") or
          quadrant == "1st_to_2nd" or
+         quadrant == "1st_to_3rd" or
+         quadrant == "1st_to_4th" or
          quadrant == "2nd_to_1st" or
-         quadrant == "equator"
+         quadrant == "2nd_to_3rd" or
+         quadrant == "2nd_to_4th" or
+         quadrant == "3rd_to_1st" or
+         quadrant == "3rd_to_2nd" or
+         quadrant == "3rd_to_4th" or
+         quadrant == "4th_to_1st" or
+         quadrant == "4th_to_2nd" or
+         quadrant == "4th_to_3rd" or
+         quadrant == "equator" or
+         quadrant == "meridian"
         if to_north?
           "north"
         elsif to_east?




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