[Groonga-commit] groonga/groonga at 1ffe554 [master] test geo_in_rectangle: add tests for north area without index use

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Sun Dec 8 13:46:04 JST 2013


Kouhei Sutou	2013-12-08 13:46:04 +0900 (Sun, 08 Dec 2013)

  New Revision: 1ffe554c46ccd8bfc138152ae91bd142e61487f2
  https://github.com/groonga/groonga/commit/1ffe554c46ccd8bfc138152ae91bd142e61487f2

  Message:
    test geo_in_rectangle: add tests for north area without index use

  Added files:
    test/command/fixture/geo/in_rectangle/north.grn
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/all_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/all_out.test
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/east_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/east_out.test
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/east_west_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/east_west_out.test
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_east_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_east_out.test
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_out.test
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_south_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_south_out.test
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_west_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_west_out.test
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/same_as_mesh.expected
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/same_as_mesh.test
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_east_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_east_out.test
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_out.test
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_west_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_west_out.test
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/west_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north/no_index/west_out.test

  Added: test/command/fixture/geo/in_rectangle/north.grn (+264 -0) 100644
===================================================================
--- /dev/null
+++ test/command/fixture/geo/in_rectangle/north.grn    2013-12-08 13:46:04 +0900 (efa017b)
@@ -0,0 +1,264 @@
+#@include fixture/geo/in_rectangle/ddl.grn
+
+#@disable-logging
+load --table LandMarks
+[
+["point"],
+["0x-8"],
+["0x-7"],
+["0x-6"],
+["0x-5"],
+["0x-4"],
+["0x-3"],
+["0x-2"],
+["0x-1"],
+["0x0"],
+["0x1"],
+["0x2"],
+["0x3"],
+["0x4"],
+["0x5"],
+["0x6"],
+["0x7"],
+["1x-8"],
+["1x-7"],
+["1x-6"],
+["1x-5"],
+["1x-4"],
+["1x-3"],
+["1x-2"],
+["1x-1"],
+["1x0"],
+["1x1"],
+["1x2"],
+["1x3"],
+["1x4"],
+["1x5"],
+["1x6"],
+["1x7"],
+["2x-8"],
+["2x-7"],
+["2x-6"],
+["2x-5"],
+["2x-4"],
+["2x-3"],
+["2x-2"],
+["2x-1"],
+["2x0"],
+["2x1"],
+["2x2"],
+["2x3"],
+["2x4"],
+["2x5"],
+["2x6"],
+["2x7"],
+["3x-8"],
+["3x-7"],
+["3x-6"],
+["3x-5"],
+["3x-4"],
+["3x-3"],
+["3x-2"],
+["3x-1"],
+["3x0"],
+["3x1"],
+["3x2"],
+["3x3"],
+["3x4"],
+["3x5"],
+["3x6"],
+["3x7"],
+["4x-8"],
+["4x-7"],
+["4x-6"],
+["4x-5"],
+["4x-4"],
+["4x-3"],
+["4x-2"],
+["4x-1"],
+["4x0"],
+["4x1"],
+["4x2"],
+["4x3"],
+["4x4"],
+["4x5"],
+["4x6"],
+["4x7"],
+["5x-8"],
+["5x-7"],
+["5x-6"],
+["5x-5"],
+["5x-4"],
+["5x-3"],
+["5x-2"],
+["5x-1"],
+["5x0"],
+["5x1"],
+["5x2"],
+["5x3"],
+["5x4"],
+["5x5"],
+["5x6"],
+["5x7"],
+["6x-8"],
+["6x-7"],
+["6x-6"],
+["6x-5"],
+["6x-4"],
+["6x-3"],
+["6x-2"],
+["6x-1"],
+["6x0"],
+["6x1"],
+["6x2"],
+["6x3"],
+["6x4"],
+["6x5"],
+["6x6"],
+["6x7"],
+["7x-8"],
+["7x-7"],
+["7x-6"],
+["7x-5"],
+["7x-4"],
+["7x-3"],
+["7x-2"],
+["7x-1"],
+["7x0"],
+["7x1"],
+["7x2"],
+["7x3"],
+["7x4"],
+["7x5"],
+["7x6"],
+["7x7"],
+["8x-8"],
+["8x-7"],
+["8x-6"],
+["8x-5"],
+["8x-4"],
+["8x-3"],
+["8x-2"],
+["8x-1"],
+["8x0"],
+["8x1"],
+["8x2"],
+["8x3"],
+["8x4"],
+["8x5"],
+["8x6"],
+["8x7"],
+["9x-8"],
+["9x-7"],
+["9x-6"],
+["9x-5"],
+["9x-4"],
+["9x-3"],
+["9x-2"],
+["9x-1"],
+["9x0"],
+["9x1"],
+["9x2"],
+["9x3"],
+["9x4"],
+["9x5"],
+["9x6"],
+["9x7"],
+["10x-8"],
+["10x-7"],
+["10x-6"],
+["10x-5"],
+["10x-4"],
+["10x-3"],
+["10x-2"],
+["10x-1"],
+["10x0"],
+["10x1"],
+["10x2"],
+["10x3"],
+["10x4"],
+["10x5"],
+["10x6"],
+["10x7"],
+["11x-8"],
+["11x-7"],
+["11x-6"],
+["11x-5"],
+["11x-4"],
+["11x-3"],
+["11x-2"],
+["11x-1"],
+["11x0"],
+["11x1"],
+["11x2"],
+["11x3"],
+["11x4"],
+["11x5"],
+["11x6"],
+["11x7"],
+["12x-8"],
+["12x-7"],
+["12x-6"],
+["12x-5"],
+["12x-4"],
+["12x-3"],
+["12x-2"],
+["12x-1"],
+["12x0"],
+["12x1"],
+["12x2"],
+["12x3"],
+["12x4"],
+["12x5"],
+["12x6"],
+["12x7"],
+["13x-8"],
+["13x-7"],
+["13x-6"],
+["13x-5"],
+["13x-4"],
+["13x-3"],
+["13x-2"],
+["13x-1"],
+["13x0"],
+["13x1"],
+["13x2"],
+["13x3"],
+["13x4"],
+["13x5"],
+["13x6"],
+["13x7"],
+["14x-8"],
+["14x-7"],
+["14x-6"],
+["14x-5"],
+["14x-4"],
+["14x-3"],
+["14x-2"],
+["14x-1"],
+["14x0"],
+["14x1"],
+["14x2"],
+["14x3"],
+["14x4"],
+["14x5"],
+["14x6"],
+["14x7"],
+["15x-8"],
+["15x-7"],
+["15x-6"],
+["15x-5"],
+["15x-4"],
+["15x-3"],
+["15x-2"],
+["15x-1"],
+["15x0"],
+["15x1"],
+["15x2"],
+["15x3"],
+["15x4"],
+["15x5"],
+["15x6"],
+["15x7"]
+]
+#@enable-logging

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/all_out.expected (+93 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/all_out.expected    2013-12-08 13:46:04 +0900 (9b4e495)
@@ -0,0 +1,93 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "4x-3", "1x2") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        24
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "1x-3"
+      ],
+      [
+        "1x-2"
+      ],
+      [
+        "1x-1"
+      ],
+      [
+        "1x0"
+      ],
+      [
+        "1x1"
+      ],
+      [
+        "1x2"
+      ],
+      [
+        "2x-3"
+      ],
+      [
+        "2x-2"
+      ],
+      [
+        "2x-1"
+      ],
+      [
+        "2x0"
+      ],
+      [
+        "2x1"
+      ],
+      [
+        "2x2"
+      ],
+      [
+        "3x-3"
+      ],
+      [
+        "3x-2"
+      ],
+      [
+        "3x-1"
+      ],
+      [
+        "3x0"
+      ],
+      [
+        "3x1"
+      ],
+      [
+        "3x2"
+      ],
+      [
+        "4x-3"
+      ],
+      [
+        "4x-2"
+      ],
+      [
+        "4x-1"
+      ],
+      [
+        "4x0"
+      ],
+      [
+        "4x1"
+      ],
+      [
+        "4x2"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/all_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/all_out.test    2013-12-08 13:46:04 +0900 (276f51f)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "4x-3", "1x2") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/east_out.expected (+51 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/east_out.expected    2013-12-08 13:46:04 +0900 (58b014e)
@@ -0,0 +1,51 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x-2", "2x2") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        10
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x-2"
+      ],
+      [
+        "2x-1"
+      ],
+      [
+        "2x0"
+      ],
+      [
+        "2x1"
+      ],
+      [
+        "2x2"
+      ],
+      [
+        "3x-2"
+      ],
+      [
+        "3x-1"
+      ],
+      [
+        "3x0"
+      ],
+      [
+        "3x1"
+      ],
+      [
+        "3x2"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/east_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/east_out.test    2013-12-08 13:46:04 +0900 (50d0125)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x-2", "2x2") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/east_west_out.expected (+57 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/east_west_out.expected    2013-12-08 13:46:04 +0900 (3085302)
@@ -0,0 +1,57 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x-3", "2x2") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        12
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x-3"
+      ],
+      [
+        "2x-2"
+      ],
+      [
+        "2x-1"
+      ],
+      [
+        "2x0"
+      ],
+      [
+        "2x1"
+      ],
+      [
+        "2x2"
+      ],
+      [
+        "3x-3"
+      ],
+      [
+        "3x-2"
+      ],
+      [
+        "3x-1"
+      ],
+      [
+        "3x0"
+      ],
+      [
+        "3x1"
+      ],
+      [
+        "3x2"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/east_west_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/east_west_out.test    2013-12-08 13:46:04 +0900 (8fa7fae)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x-3", "2x2") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_east_out.expected (+66 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_east_out.expected    2013-12-08 13:46:04 +0900 (58cde22)
@@ -0,0 +1,66 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "4x-2", "2x2") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        15
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x-2"
+      ],
+      [
+        "2x-1"
+      ],
+      [
+        "2x0"
+      ],
+      [
+        "2x1"
+      ],
+      [
+        "2x2"
+      ],
+      [
+        "3x-2"
+      ],
+      [
+        "3x-1"
+      ],
+      [
+        "3x0"
+      ],
+      [
+        "3x1"
+      ],
+      [
+        "3x2"
+      ],
+      [
+        "4x-2"
+      ],
+      [
+        "4x-1"
+      ],
+      [
+        "4x0"
+      ],
+      [
+        "4x1"
+      ],
+      [
+        "4x2"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_east_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_east_out.test    2013-12-08 13:46:04 +0900 (c1a1acc)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "4x-2", "2x2") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_out.expected (+57 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_out.expected    2013-12-08 13:46:04 +0900 (3e7a7e4)
@@ -0,0 +1,57 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "4x-2", "2x1") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        12
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x-2"
+      ],
+      [
+        "2x-1"
+      ],
+      [
+        "2x0"
+      ],
+      [
+        "2x1"
+      ],
+      [
+        "3x-2"
+      ],
+      [
+        "3x-1"
+      ],
+      [
+        "3x0"
+      ],
+      [
+        "3x1"
+      ],
+      [
+        "4x-2"
+      ],
+      [
+        "4x-1"
+      ],
+      [
+        "4x0"
+      ],
+      [
+        "4x1"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_out.test    2013-12-08 13:46:04 +0900 (be32abb)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "4x-2", "2x1") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_south_out.expected (+69 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_south_out.expected    2013-12-08 13:46:04 +0900 (3b9deda)
@@ -0,0 +1,69 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "4x-2", "1x1") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        16
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "1x-2"
+      ],
+      [
+        "1x-1"
+      ],
+      [
+        "1x0"
+      ],
+      [
+        "1x1"
+      ],
+      [
+        "2x-2"
+      ],
+      [
+        "2x-1"
+      ],
+      [
+        "2x0"
+      ],
+      [
+        "2x1"
+      ],
+      [
+        "3x-2"
+      ],
+      [
+        "3x-1"
+      ],
+      [
+        "3x0"
+      ],
+      [
+        "3x1"
+      ],
+      [
+        "4x-2"
+      ],
+      [
+        "4x-1"
+      ],
+      [
+        "4x0"
+      ],
+      [
+        "4x1"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_south_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_south_out.test    2013-12-08 13:46:04 +0900 (0f3a122)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "4x-2", "1x1") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_west_out.expected (+66 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_west_out.expected    2013-12-08 13:46:04 +0900 (b5ce187)
@@ -0,0 +1,66 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "4x-3", "2x1") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        15
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x-3"
+      ],
+      [
+        "2x-2"
+      ],
+      [
+        "2x-1"
+      ],
+      [
+        "2x0"
+      ],
+      [
+        "2x1"
+      ],
+      [
+        "3x-3"
+      ],
+      [
+        "3x-2"
+      ],
+      [
+        "3x-1"
+      ],
+      [
+        "3x0"
+      ],
+      [
+        "3x1"
+      ],
+      [
+        "4x-3"
+      ],
+      [
+        "4x-2"
+      ],
+      [
+        "4x-1"
+      ],
+      [
+        "4x0"
+      ],
+      [
+        "4x1"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_west_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/north_west_out.test    2013-12-08 13:46:04 +0900 (b7c58ac)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "4x-3", "2x1") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/same_as_mesh.expected (+45 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/same_as_mesh.expected    2013-12-08 13:46:04 +0900 (d28d329)
@@ -0,0 +1,45 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x-2", "2x1") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        8
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x-2"
+      ],
+      [
+        "2x-1"
+      ],
+      [
+        "2x0"
+      ],
+      [
+        "2x1"
+      ],
+      [
+        "3x-2"
+      ],
+      [
+        "3x-1"
+      ],
+      [
+        "3x0"
+      ],
+      [
+        "3x1"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/same_as_mesh.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/same_as_mesh.test    2013-12-08 13:46:04 +0900 (6dfe389)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x-2", "2x1") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_east_out.expected (+66 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_east_out.expected    2013-12-08 13:46:04 +0900 (b626d0e)
@@ -0,0 +1,66 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x-2", "1x2") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        15
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "1x-2"
+      ],
+      [
+        "1x-1"
+      ],
+      [
+        "1x0"
+      ],
+      [
+        "1x1"
+      ],
+      [
+        "1x2"
+      ],
+      [
+        "2x-2"
+      ],
+      [
+        "2x-1"
+      ],
+      [
+        "2x0"
+      ],
+      [
+        "2x1"
+      ],
+      [
+        "2x2"
+      ],
+      [
+        "3x-2"
+      ],
+      [
+        "3x-1"
+      ],
+      [
+        "3x0"
+      ],
+      [
+        "3x1"
+      ],
+      [
+        "3x2"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_east_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_east_out.test    2013-12-08 13:46:04 +0900 (13d2640)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x-2", "1x2") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_out.expected (+57 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_out.expected    2013-12-08 13:46:04 +0900 (09619bb)
@@ -0,0 +1,57 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x-2", "1x1") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        12
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "1x-2"
+      ],
+      [
+        "1x-1"
+      ],
+      [
+        "1x0"
+      ],
+      [
+        "1x1"
+      ],
+      [
+        "2x-2"
+      ],
+      [
+        "2x-1"
+      ],
+      [
+        "2x0"
+      ],
+      [
+        "2x1"
+      ],
+      [
+        "3x-2"
+      ],
+      [
+        "3x-1"
+      ],
+      [
+        "3x0"
+      ],
+      [
+        "3x1"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_out.test    2013-12-08 13:46:04 +0900 (1775b57)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x-2", "1x1") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_west_out.expected (+66 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_west_out.expected    2013-12-08 13:46:04 +0900 (7bb16f0)
@@ -0,0 +1,66 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x-3", "1x1") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        15
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "1x-3"
+      ],
+      [
+        "1x-2"
+      ],
+      [
+        "1x-1"
+      ],
+      [
+        "1x0"
+      ],
+      [
+        "1x1"
+      ],
+      [
+        "2x-3"
+      ],
+      [
+        "2x-2"
+      ],
+      [
+        "2x-1"
+      ],
+      [
+        "2x0"
+      ],
+      [
+        "2x1"
+      ],
+      [
+        "3x-3"
+      ],
+      [
+        "3x-2"
+      ],
+      [
+        "3x-1"
+      ],
+      [
+        "3x0"
+      ],
+      [
+        "3x1"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_west_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/south_west_out.test    2013-12-08 13:46:04 +0900 (c2a5976)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x-3", "1x1") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/west_out.expected (+51 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/west_out.expected    2013-12-08 13:46:04 +0900 (52d1038)
@@ -0,0 +1,51 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x-3", "2x1") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        10
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x-3"
+      ],
+      [
+        "2x-2"
+      ],
+      [
+        "2x-1"
+      ],
+      [
+        "2x0"
+      ],
+      [
+        "2x1"
+      ],
+      [
+        "3x-3"
+      ],
+      [
+        "3x-2"
+      ],
+      [
+        "3x-1"
+      ],
+      [
+        "3x0"
+      ],
+      [
+        "3x1"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north/no_index/west_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north/no_index/west_out.test    2013-12-08 13:46:04 +0900 (7e7cd18)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x-3", "2x1") > 0'
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る