[Groonga-commit] groonga/groonga at e60eaee [master] test geo_in_rectangle: add north/east tests without index use

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Dec 7 20:10:51 JST 2013


Kouhei Sutou	2013-12-07 20:10:51 +0900 (Sat, 07 Dec 2013)

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

  Message:
    test geo_in_rectangle: add north/east tests without index use

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

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/all_out.expected (+69 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/all_out.expected    2013-12-07 20:10:51 +0900 (f1606b6)
@@ -0,0 +1,69 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "4x1", "1x4") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        16
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "1x1"
+      ],
+      [
+        "1x2"
+      ],
+      [
+        "1x3"
+      ],
+      [
+        "1x4"
+      ],
+      [
+        "2x1"
+      ],
+      [
+        "2x2"
+      ],
+      [
+        "2x3"
+      ],
+      [
+        "2x4"
+      ],
+      [
+        "3x1"
+      ],
+      [
+        "3x2"
+      ],
+      [
+        "3x3"
+      ],
+      [
+        "3x4"
+      ],
+      [
+        "4x1"
+      ],
+      [
+        "4x2"
+      ],
+      [
+        "4x3"
+      ],
+      [
+        "4x4"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/all_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/all_out.test    2013-12-07 20:10:51 +0900 (6ebfce6)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_east.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "4x1", "1x4") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/east_out.expected (+39 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/east_out.expected    2013-12-07 20:10:51 +0900 (438b855)
@@ -0,0 +1,39 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x2", "2x4") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        6
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x2"
+      ],
+      [
+        "2x3"
+      ],
+      [
+        "2x4"
+      ],
+      [
+        "3x2"
+      ],
+      [
+        "3x3"
+      ],
+      [
+        "3x4"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/east_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/east_out.test    2013-12-07 20:10:51 +0900 (9aad4cb)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_east.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x2", "2x4") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/east_west_out.expected (+45 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/east_west_out.expected    2013-12-07 20:10:51 +0900 (ef8adba)
@@ -0,0 +1,45 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x1", "2x4") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        8
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x1"
+      ],
+      [
+        "2x2"
+      ],
+      [
+        "2x3"
+      ],
+      [
+        "2x4"
+      ],
+      [
+        "3x1"
+      ],
+      [
+        "3x2"
+      ],
+      [
+        "3x3"
+      ],
+      [
+        "3x4"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/east_west_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/east_west_out.test    2013-12-07 20:10:51 +0900 (969df62)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_east.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x1", "2x4") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/north_east_out.expected (+48 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/north_east_out.expected    2013-12-07 20:10:51 +0900 (a33be50)
@@ -0,0 +1,48 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "4x2", "2x4") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        9
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x2"
+      ],
+      [
+        "2x3"
+      ],
+      [
+        "2x4"
+      ],
+      [
+        "3x2"
+      ],
+      [
+        "3x3"
+      ],
+      [
+        "3x4"
+      ],
+      [
+        "4x2"
+      ],
+      [
+        "4x3"
+      ],
+      [
+        "4x4"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/north_east_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/north_east_out.test    2013-12-07 20:10:51 +0900 (4f5b775)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_east.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "4x2", "2x4") > 0'

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

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/north_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/north_out.test    2013-12-07 20:10:51 +0900 (5915f35)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_east.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "4x2", "2x3") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/north_south_out.expected (+45 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/north_south_out.expected    2013-12-07 20:10:51 +0900 (5cf3e9f)
@@ -0,0 +1,45 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "4x2", "1x3") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        8
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "1x2"
+      ],
+      [
+        "1x3"
+      ],
+      [
+        "2x2"
+      ],
+      [
+        "2x3"
+      ],
+      [
+        "3x2"
+      ],
+      [
+        "3x3"
+      ],
+      [
+        "4x2"
+      ],
+      [
+        "4x3"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/north_south_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/north_south_out.test    2013-12-07 20:10:51 +0900 (2f8e434)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_east.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "4x2", "1x3") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/north_west_out.expected (+48 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/north_west_out.expected    2013-12-07 20:10:51 +0900 (079c384)
@@ -0,0 +1,48 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "4x1", "2x3") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        9
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x1"
+      ],
+      [
+        "2x2"
+      ],
+      [
+        "2x3"
+      ],
+      [
+        "3x1"
+      ],
+      [
+        "3x2"
+      ],
+      [
+        "3x3"
+      ],
+      [
+        "4x1"
+      ],
+      [
+        "4x2"
+      ],
+      [
+        "4x3"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/north_west_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/north_west_out.test    2013-12-07 20:10:51 +0900 (a8d57e1)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_east.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "4x1", "2x3") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/same_as_mesh.expected (+33 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/same_as_mesh.expected    2013-12-07 20:10:51 +0900 (72786b8)
@@ -0,0 +1,33 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x2", "2x3") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        4
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x2"
+      ],
+      [
+        "2x3"
+      ],
+      [
+        "3x2"
+      ],
+      [
+        "3x3"
+      ]
+    ]
+  ]
+]

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

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/south_east_out.expected (+48 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/south_east_out.expected    2013-12-07 20:10:51 +0900 (fd0db41)
@@ -0,0 +1,48 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x2", "1x4") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        9
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "1x2"
+      ],
+      [
+        "1x3"
+      ],
+      [
+        "1x4"
+      ],
+      [
+        "2x2"
+      ],
+      [
+        "2x3"
+      ],
+      [
+        "2x4"
+      ],
+      [
+        "3x2"
+      ],
+      [
+        "3x3"
+      ],
+      [
+        "3x4"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/south_east_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/south_east_out.test    2013-12-07 20:10:51 +0900 (cebe895)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_east.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x2", "1x4") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/south_out.expected (+39 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/south_out.expected    2013-12-07 20:10:51 +0900 (436c1c1)
@@ -0,0 +1,39 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x2", "1x3") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        6
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "1x2"
+      ],
+      [
+        "1x3"
+      ],
+      [
+        "2x2"
+      ],
+      [
+        "2x3"
+      ],
+      [
+        "3x2"
+      ],
+      [
+        "3x3"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/south_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/south_out.test    2013-12-07 20:10:51 +0900 (f210e82)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_east.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x2", "1x3") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/south_west_out.expected (+48 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/south_west_out.expected    2013-12-07 20:10:51 +0900 (3951268)
@@ -0,0 +1,48 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x1", "1x3") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        9
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "1x1"
+      ],
+      [
+        "1x2"
+      ],
+      [
+        "1x3"
+      ],
+      [
+        "2x1"
+      ],
+      [
+        "2x2"
+      ],
+      [
+        "2x3"
+      ],
+      [
+        "3x1"
+      ],
+      [
+        "3x2"
+      ],
+      [
+        "3x3"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/south_west_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/south_west_out.test    2013-12-07 20:10:51 +0900 (81ce1b6)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_east.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x1", "1x3") > 0'

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/west_out.expected (+39 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/west_out.expected    2013-12-07 20:10:51 +0900 (040af50)
@@ -0,0 +1,39 @@
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1   --filter 'geo_in_rectangle(point, "3x1", "2x3") > 0'
+[
+  [
+    0,
+    0.0,
+    0.0
+  ],
+  [
+    [
+      [
+        6
+      ],
+      [
+        [
+          "point",
+          "WGS84GeoPoint"
+        ]
+      ],
+      [
+        "2x1"
+      ],
+      [
+        "2x2"
+      ],
+      [
+        "2x3"
+      ],
+      [
+        "3x1"
+      ],
+      [
+        "3x2"
+      ],
+      [
+        "3x3"
+      ]
+    ]
+  ]
+]

  Added: test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/west_out.test (+4 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/select/filter/geo_in_rectangle/north_east/no_index/west_out.test    2013-12-07 20:10:51 +0900 (81a6a22)
@@ -0,0 +1,4 @@
+#@include fixture/geo/in_rectangle/north_east.grn
+
+select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \
+  --filter 'geo_in_rectangle(point, "3x1", "2x3") > 0'
-------------- next part --------------
HTML����������������������������...
Télécharger 



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