Kouhei Sutou
null+****@clear*****
Sun Dec 8 22:18:35 JST 2013
Kouhei Sutou 2013-12-08 22:18:35 +0900 (Sun, 08 Dec 2013) New Revision: 8b90b80cccb0a14ce545c8263567f7b0553e649f https://github.com/groonga/groonga/commit/8b90b80cccb0a14ce545c8263567f7b0553e649f Message: test geo_in_rectangle: add tests for south area without index use Added files: test/command/fixture/geo/in_rectangle/south/around_0.grn test/command/suite/select/filter/geo_in_rectangle/south/around_0/all_out.expected test/command/suite/select/filter/geo_in_rectangle/south/around_0/all_out.test test/command/suite/select/filter/geo_in_rectangle/south/around_0/east_out.expected test/command/suite/select/filter/geo_in_rectangle/south/around_0/east_out.test test/command/suite/select/filter/geo_in_rectangle/south/around_0/east_west_out.expected test/command/suite/select/filter/geo_in_rectangle/south/around_0/east_west_out.test test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_east_out.expected test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_east_out.test test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_out.expected test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_out.test test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_south_out.expected test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_south_out.test test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_west_out.expected test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_west_out.test test/command/suite/select/filter/geo_in_rectangle/south/around_0/same_as_mesh.expected test/command/suite/select/filter/geo_in_rectangle/south/around_0/same_as_mesh.test test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_east_out.expected test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_east_out.test test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_out.expected test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_out.test test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_west_out.expected test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_west_out.test test/command/suite/select/filter/geo_in_rectangle/south/around_0/west_out.expected test/command/suite/select/filter/geo_in_rectangle/south/around_0/west_out.test Added: test/command/fixture/geo/in_rectangle/south/around_0.grn (+264 -0) 100644 =================================================================== --- /dev/null +++ test/command/fixture/geo/in_rectangle/south/around_0.grn 2013-12-08 22:18:35 +0900 (acffbd9) @@ -0,0 +1,264 @@ +#@include fixture/geo/in_rectangle/ddl.grn + +#@disable-logging +load --table LandMarks +[ +["point"], +["-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"], +["-16x-8"], +["-16x-7"], +["-16x-6"], +["-16x-5"], +["-16x-4"], +["-16x-3"], +["-16x-2"], +["-16x-1"], +["-16x0"], +["-16x1"], +["-16x2"], +["-16x3"], +["-16x4"], +["-16x5"], +["-16x6"], +["-16x7"] +] +#@enable-logging Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/all_out.expected (+93 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/all_out.expected 2013-12-08 22:18:35 +0900 (75a3c33) @@ -0,0 +1,93 @@ +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 --filter 'geo_in_rectangle(point, "-2x-3", "-5x2") > 0' +[ + [ + 0, + 0.0, + 0.0 + ], + [ + [ + [ + 24 + ], + [ + [ + "point", + "WGS84GeoPoint" + ] + ], + [ + "-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" + ], + [ + "-5x-3" + ], + [ + "-5x-2" + ], + [ + "-5x-1" + ], + [ + "-5x0" + ], + [ + "-5x1" + ], + [ + "-5x2" + ] + ] + ] +] Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/all_out.test (+4 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/all_out.test 2013-12-08 22:18:35 +0900 (d0bf88b) @@ -0,0 +1,4 @@ +#@include fixture/geo/in_rectangle/south/around_0.grn + +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \ + --filter 'geo_in_rectangle(point, "-2x-3", "-5x2") > 0' Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/east_out.expected (+51 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/east_out.expected 2013-12-08 22:18:35 +0900 (a59e750) @@ -0,0 +1,51 @@ +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 --filter 'geo_in_rectangle(point, "-3x-2", "-4x2") > 0' +[ + [ + 0, + 0.0, + 0.0 + ], + [ + [ + [ + 10 + ], + [ + [ + "point", + "WGS84GeoPoint" + ] + ], + [ + "-3x-2" + ], + [ + "-3x-1" + ], + [ + "-3x0" + ], + [ + "-3x1" + ], + [ + "-3x2" + ], + [ + "-4x-2" + ], + [ + "-4x-1" + ], + [ + "-4x0" + ], + [ + "-4x1" + ], + [ + "-4x2" + ] + ] + ] +] Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/east_out.test (+4 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/east_out.test 2013-12-08 22:18:35 +0900 (28ab0d7) @@ -0,0 +1,4 @@ +#@include fixture/geo/in_rectangle/south/around_0.grn + +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \ + --filter 'geo_in_rectangle(point, "-3x-2", "-4x2") > 0' Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/east_west_out.expected (+57 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/east_west_out.expected 2013-12-08 22:18:35 +0900 (3a86e0c) @@ -0,0 +1,57 @@ +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 --filter 'geo_in_rectangle(point, "-3x-3", "-4x2") > 0' +[ + [ + 0, + 0.0, + 0.0 + ], + [ + [ + [ + 12 + ], + [ + [ + "point", + "WGS84GeoPoint" + ] + ], + [ + "-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/south/around_0/east_west_out.test (+4 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/east_west_out.test 2013-12-08 22:18:35 +0900 (4875b03) @@ -0,0 +1,4 @@ +#@include fixture/geo/in_rectangle/south/around_0.grn + +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \ + --filter 'geo_in_rectangle(point, "-3x-3", "-4x2") > 0' Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_east_out.expected (+66 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_east_out.expected 2013-12-08 22:18:35 +0900 (6f149bb) @@ -0,0 +1,66 @@ +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 --filter 'geo_in_rectangle(point, "-2x-2", "-4x2") > 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/south/around_0/north_east_out.test (+4 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_east_out.test 2013-12-08 22:18:35 +0900 (faa1115) @@ -0,0 +1,4 @@ +#@include fixture/geo/in_rectangle/south/around_0.grn + +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \ + --filter 'geo_in_rectangle(point, "-2x-2", "-4x2") > 0' Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_out.expected (+57 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_out.expected 2013-12-08 22:18:35 +0900 (5bee6e7) @@ -0,0 +1,57 @@ +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 --filter 'geo_in_rectangle(point, "-2x-2", "-4x1") > 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/south/around_0/north_out.test (+4 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_out.test 2013-12-08 22:18:35 +0900 (344ede8) @@ -0,0 +1,4 @@ +#@include fixture/geo/in_rectangle/south/around_0.grn + +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \ + --filter 'geo_in_rectangle(point, "-2x-2", "-4x1") > 0' Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_south_out.expected (+69 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_south_out.expected 2013-12-08 22:18:35 +0900 (984f953) @@ -0,0 +1,69 @@ +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 --filter 'geo_in_rectangle(point, "-2x-2", "-5x1") > 0' +[ + [ + 0, + 0.0, + 0.0 + ], + [ + [ + [ + 16 + ], + [ + [ + "point", + "WGS84GeoPoint" + ] + ], + [ + "-2x-2" + ], + [ + "-2x-1" + ], + [ + "-2x0" + ], + [ + "-2x1" + ], + [ + "-3x-2" + ], + [ + "-3x-1" + ], + [ + "-3x0" + ], + [ + "-3x1" + ], + [ + "-4x-2" + ], + [ + "-4x-1" + ], + [ + "-4x0" + ], + [ + "-4x1" + ], + [ + "-5x-2" + ], + [ + "-5x-1" + ], + [ + "-5x0" + ], + [ + "-5x1" + ] + ] + ] +] Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_south_out.test (+4 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_south_out.test 2013-12-08 22:18:35 +0900 (711fc2d) @@ -0,0 +1,4 @@ +#@include fixture/geo/in_rectangle/south/around_0.grn + +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \ + --filter 'geo_in_rectangle(point, "-2x-2", "-5x1") > 0' Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_west_out.expected (+66 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_west_out.expected 2013-12-08 22:18:35 +0900 (e78c0c3) @@ -0,0 +1,66 @@ +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 --filter 'geo_in_rectangle(point, "-2x-3", "-4x1") > 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/south/around_0/north_west_out.test (+4 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/north_west_out.test 2013-12-08 22:18:35 +0900 (4f1b933) @@ -0,0 +1,4 @@ +#@include fixture/geo/in_rectangle/south/around_0.grn + +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \ + --filter 'geo_in_rectangle(point, "-2x-3", "-4x1") > 0' Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/same_as_mesh.expected (+45 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/same_as_mesh.expected 2013-12-08 22:18:35 +0900 (44a2b31) @@ -0,0 +1,45 @@ +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 --filter 'geo_in_rectangle(point, "-3x-2", "-4x1") > 0' +[ + [ + 0, + 0.0, + 0.0 + ], + [ + [ + [ + 8 + ], + [ + [ + "point", + "WGS84GeoPoint" + ] + ], + [ + "-3x-2" + ], + [ + "-3x-1" + ], + [ + "-3x0" + ], + [ + "-3x1" + ], + [ + "-4x-2" + ], + [ + "-4x-1" + ], + [ + "-4x0" + ], + [ + "-4x1" + ] + ] + ] +] Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/same_as_mesh.test (+4 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/same_as_mesh.test 2013-12-08 22:18:35 +0900 (4be3071) @@ -0,0 +1,4 @@ +#@include fixture/geo/in_rectangle/south/around_0.grn + +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \ + --filter 'geo_in_rectangle(point, "-3x-2", "-4x1") > 0' Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_east_out.expected (+66 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_east_out.expected 2013-12-08 22:18:35 +0900 (4673a6f) @@ -0,0 +1,66 @@ +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 --filter 'geo_in_rectangle(point, "-3x-2", "-5x2") > 0' +[ + [ + 0, + 0.0, + 0.0 + ], + [ + [ + [ + 15 + ], + [ + [ + "point", + "WGS84GeoPoint" + ] + ], + [ + "-3x-2" + ], + [ + "-3x-1" + ], + [ + "-3x0" + ], + [ + "-3x1" + ], + [ + "-3x2" + ], + [ + "-4x-2" + ], + [ + "-4x-1" + ], + [ + "-4x0" + ], + [ + "-4x1" + ], + [ + "-4x2" + ], + [ + "-5x-2" + ], + [ + "-5x-1" + ], + [ + "-5x0" + ], + [ + "-5x1" + ], + [ + "-5x2" + ] + ] + ] +] Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_east_out.test (+4 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_east_out.test 2013-12-08 22:18:35 +0900 (77ef705) @@ -0,0 +1,4 @@ +#@include fixture/geo/in_rectangle/south/around_0.grn + +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \ + --filter 'geo_in_rectangle(point, "-3x-2", "-5x2") > 0' Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_out.expected (+57 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_out.expected 2013-12-08 22:18:35 +0900 (4eccb31) @@ -0,0 +1,57 @@ +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 --filter 'geo_in_rectangle(point, "-3x-2", "-5x1") > 0' +[ + [ + 0, + 0.0, + 0.0 + ], + [ + [ + [ + 12 + ], + [ + [ + "point", + "WGS84GeoPoint" + ] + ], + [ + "-3x-2" + ], + [ + "-3x-1" + ], + [ + "-3x0" + ], + [ + "-3x1" + ], + [ + "-4x-2" + ], + [ + "-4x-1" + ], + [ + "-4x0" + ], + [ + "-4x1" + ], + [ + "-5x-2" + ], + [ + "-5x-1" + ], + [ + "-5x0" + ], + [ + "-5x1" + ] + ] + ] +] Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_out.test (+4 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_out.test 2013-12-08 22:18:35 +0900 (e519337) @@ -0,0 +1,4 @@ +#@include fixture/geo/in_rectangle/south/around_0.grn + +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \ + --filter 'geo_in_rectangle(point, "-3x-2", "-5x1") > 0' Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_west_out.expected (+66 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_west_out.expected 2013-12-08 22:18:35 +0900 (fe4f1f7) @@ -0,0 +1,66 @@ +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 --filter 'geo_in_rectangle(point, "-3x-3", "-5x1") > 0' +[ + [ + 0, + 0.0, + 0.0 + ], + [ + [ + [ + 15 + ], + [ + [ + "point", + "WGS84GeoPoint" + ] + ], + [ + "-3x-3" + ], + [ + "-3x-2" + ], + [ + "-3x-1" + ], + [ + "-3x0" + ], + [ + "-3x1" + ], + [ + "-4x-3" + ], + [ + "-4x-2" + ], + [ + "-4x-1" + ], + [ + "-4x0" + ], + [ + "-4x1" + ], + [ + "-5x-3" + ], + [ + "-5x-2" + ], + [ + "-5x-1" + ], + [ + "-5x0" + ], + [ + "-5x1" + ] + ] + ] +] Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_west_out.test (+4 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/south_west_out.test 2013-12-08 22:18:35 +0900 (0810339) @@ -0,0 +1,4 @@ +#@include fixture/geo/in_rectangle/south/around_0.grn + +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \ + --filter 'geo_in_rectangle(point, "-3x-3", "-5x1") > 0' Added: test/command/suite/select/filter/geo_in_rectangle/south/around_0/west_out.expected (+51 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/west_out.expected 2013-12-08 22:18:35 +0900 (27b7578) @@ -0,0 +1,51 @@ +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 --filter 'geo_in_rectangle(point, "-3x-3", "-4x1") > 0' +[ + [ + 0, + 0.0, + 0.0 + ], + [ + [ + [ + 10 + ], + [ + [ + "point", + "WGS84GeoPoint" + ] + ], + [ + "-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/south/around_0/west_out.test (+4 -0) 100644 =================================================================== --- /dev/null +++ test/command/suite/select/filter/geo_in_rectangle/south/around_0/west_out.test 2013-12-08 22:18:35 +0900 (c061ca6) @@ -0,0 +1,4 @@ +#@include fixture/geo/in_rectangle/south/around_0.grn + +select LandMarks --sortby '_id' --output_columns 'point' --limit -1 \ + --filter 'geo_in_rectangle(point, "-3x-3", "-4x1") > 0' -------------- next part -------------- HTML����������������������������... Descargar