[Groonga-commit] groonga/groonga at 8df0b93 [master] test geo_in_rectangle: add north/west area tests without index use

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Dec 7 20:23:18 JST 2013


Kouhei Sutou	2013-12-07 20:23:18 +0900 (Sat, 07 Dec 2013)

  New Revision: 8df0b932102c57cd67dd3125356b7030d9c200da
  https://github.com/groonga/groonga/commit/8df0b932102c57cd67dd3125356b7030d9c200da

  Message:
    test geo_in_rectangle: add north/west area tests without index use

  Added files:
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/east_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/east_out.test
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/east_west_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/east_west_out.test
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_east_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_east_out.test
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_out.test
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_south_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_south_out.test
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_west_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_west_out.test
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/same_as_mesh.expected
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/same_as_mesh.test
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_east_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_east_out.test
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_out.test
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_west_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_west_out.test
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/west_out.expected
    test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/west_out.test

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/east_out.expected (+39 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/east_out.expected    2013-12-07 20:23:18 +0900 (44c3d84)
@@ -0,0 +1,39 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x-4", "2x-2") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        6
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x-2"
+      ],
+      [
+        "2x-3"
+      ],
+      [
+        "2x-4"
+      ],
+      [
+        "3x-2"
+      ],
+      [
+        "3x-3"
+      ],
+      [
+        "3x-4"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/east_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/east_out.test    2013-12-07 20:23:18 +0900 (891c379)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_west.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x-4", "2x-2") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/east_west_out.expected (+45 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/east_west_out.expected    2013-12-07 20:23:18 +0900 (ce121b4)
@@ -0,0 +1,45 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x-5", "2x-2") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        8
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x-2"
+      ],
+      [
+        "2x-3"
+      ],
+      [
+        "2x-4"
+      ],
+      [
+        "2x-5"
+      ],
+      [
+        "3x-2"
+      ],
+      [
+        "3x-3"
+      ],
+      [
+        "3x-4"
+      ],
+      [
+        "3x-5"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/east_west_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/east_west_out.test    2013-12-07 20:23:18 +0900 (91f72a8)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_west.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x-5", "2x-2") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_east_out.expected (+48 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_east_out.expected    2013-12-07 20:23:18 +0900 (893dcd9)
@@ -0,0 +1,48 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "4x-4", "2x-2") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        9
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x-2"
+      ],
+      [
+        "2x-3"
+      ],
+      [
+        "2x-4"
+      ],
+      [
+        "3x-2"
+      ],
+      [
+        "3x-3"
+      ],
+      [
+        "3x-4"
+      ],
+      [
+        "4x-2"
+      ],
+      [
+        "4x-3"
+      ],
+      [
+        "4x-4"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_east_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_east_out.test    2013-12-07 20:23:18 +0900 (24684ea)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_west.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "4x-4", "2x-2") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_out.expected (+39 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_out.expected    2013-12-07 20:23:18 +0900 (a0cacc5)
@@ -0,0 +1,39 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "4x-4", "2x-3") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        6
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x-3"
+      ],
+      [
+        "2x-4"
+      ],
+      [
+        "3x-3"
+      ],
+      [
+        "3x-4"
+      ],
+      [
+        "4x-3"
+      ],
+      [
+        "4x-4"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_out.test    2013-12-07 20:23:18 +0900 (18deb07)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_west.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "4x-4", "2x-3") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_south_out.expected (+45 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_south_out.expected    2013-12-07 20:23:18 +0900 (25ed6b4)
@@ -0,0 +1,45 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "4x-4", "1x-3") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        8
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "1x-3"
+      ],
+      [
+        "1x-4"
+      ],
+      [
+        "2x-3"
+      ],
+      [
+        "2x-4"
+      ],
+      [
+        "3x-3"
+      ],
+      [
+        "3x-4"
+      ],
+      [
+        "4x-3"
+      ],
+      [
+        "4x-4"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_south_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_south_out.test    2013-12-07 20:23:18 +0900 (aed0c9c)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_west.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "4x-4", "1x-3") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_west_out.expected (+48 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_west_out.expected    2013-12-07 20:23:18 +0900 (e8b0952)
@@ -0,0 +1,48 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "4x-5", "2x-3") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        9
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x-3"
+      ],
+      [
+        "2x-4"
+      ],
+      [
+        "2x-5"
+      ],
+      [
+        "3x-3"
+      ],
+      [
+        "3x-4"
+      ],
+      [
+        "3x-5"
+      ],
+      [
+        "4x-3"
+      ],
+      [
+        "4x-4"
+      ],
+      [
+        "4x-5"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_west_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/north_west_out.test    2013-12-07 20:23:18 +0900 (efa4717)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_west.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "4x-5", "2x-3") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/same_as_mesh.expected (+33 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/same_as_mesh.expected    2013-12-07 20:23:18 +0900 (3747327)
@@ -0,0 +1,33 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x-4", "2x-3") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        4
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x-3"
+      ],
+      [
+        "2x-4"
+      ],
+      [
+        "3x-3"
+      ],
+      [
+        "3x-4"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/same_as_mesh.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/same_as_mesh.test    2013-12-07 20:23:18 +0900 (10502cf)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_west.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x-4", "2x-3") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_east_out.expected (+48 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_east_out.expected    2013-12-07 20:23:18 +0900 (f831ace)
@@ -0,0 +1,48 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x-4", "1x-2") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        9
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "1x-2"
+      ],
+      [
+        "1x-3"
+      ],
+      [
+        "1x-4"
+      ],
+      [
+        "2x-2"
+      ],
+      [
+        "2x-3"
+      ],
+      [
+        "2x-4"
+      ],
+      [
+        "3x-2"
+      ],
+      [
+        "3x-3"
+      ],
+      [
+        "3x-4"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_east_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_east_out.test    2013-12-07 20:23:18 +0900 (7135e4c)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_west.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x-4", "1x-2") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_out.expected (+39 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_out.expected    2013-12-07 20:23:18 +0900 (eaf1dd3)
@@ -0,0 +1,39 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x-4", "1x-3") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        6
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "1x-3"
+      ],
+      [
+        "1x-4"
+      ],
+      [
+        "2x-3"
+      ],
+      [
+        "2x-4"
+      ],
+      [
+        "3x-3"
+      ],
+      [
+        "3x-4"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_out.test    2013-12-07 20:23:18 +0900 (2018a0c)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_west.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x-4", "1x-3") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_west_out.expected (+48 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_west_out.expected    2013-12-07 20:23:18 +0900 (6649a03)
@@ -0,0 +1,48 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x-5", "1x-3") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        9
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "1x-3"
+      ],
+      [
+        "1x-4"
+      ],
+      [
+        "1x-5"
+      ],
+      [
+        "2x-3"
+      ],
+      [
+        "2x-4"
+      ],
+      [
+        "2x-5"
+      ],
+      [
+        "3x-3"
+      ],
+      [
+        "3x-4"
+      ],
+      [
+        "3x-5"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_west_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/south_west_out.test    2013-12-07 20:23:18 +0900 (8a8c9ec)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_west.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x-5", "1x-3") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/west_out.expected (+39 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/west_out.expected    2013-12-07 20:23:18 +0900 (53ccc10)
@@ -0,0 +1,39 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x-5", "2x-3") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        6
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x-3"
+      ],
+      [
+        "2x-4"
+      ],
+      [
+        "2x-5"
+      ],
+      [
+        "3x-3"
+      ],
+      [
+        "3x-4"
+      ],
+      [
+        "3x-5"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/west_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_west/no_index/west_out.test    2013-12-07 20:23:18 +0900 (2f1bf56)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_west.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x-5", "2x-3") > 0'
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index