[Groonga-commit] groonga/groonga [master] test: ignore data unless the value exists within specified quadrant

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 18日 (金) 13:44:29 JST


HAYASHI Kentaro	2012-05-18 13:44:29 +0900 (Fri, 18 May 2012)

  New Revision: 764c78131e0fc665ec55baab480553babbe5eb77

  Log:
    test: ignore data unless the value exists within specified quadrant

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

  Modified: test/function/tools/geo/generate-grntest-data.rb (+4 -0)
===================================================================
--- test/function/tools/geo/generate-grntest-data.rb    2012-05-18 13:32:18 +0900 (10620fd)
+++ test/function/tools/geo/generate-grntest-data.rb    2012-05-18 13:44:29 +0900 (19bb4ed)
@@ -389,6 +389,10 @@ if __FILE__ == $0
 
       grndata.parse_line_data(line)
 
+      if OPTS.has_key?(:quadrant_with_axis) then
+        next unless grndata.within_specified_quadrant?(OPTS[:quadrant_with_axis])
+      end
+
       app_types = ["", "rectangle", "rect"]
       app_types = [""]
 




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