null+****@clear*****
null+****@clear*****
2012年 4月 20日 (金) 10:57:58 JST
khayashi 2012-04-20 10:57:58 +0900 (Fri, 20 Apr 2012)
New Revision: 57f5aecac2efdfa8e7d2e956800c9668364d0012
Log:
test: migrate a test from Cutter to grntest style
The test checks loading the min latitude value of geo point.
Added files:
test/function/suite/load/scalar-geo-point-valid-small-latitude.expected
test/function/suite/load/scalar-geo-point-valid-small-latitude.test
Added: test/function/suite/load/scalar-geo-point-valid-small-latitude.expected (+43 -0) 100644
===================================================================
--- /dev/null
+++ test/function/suite/load/scalar-geo-point-valid-small-latitude.expected 2012-04-20 10:57:58 +0900 (ff94fde)
@@ -0,0 +1,43 @@
+table_create Shops TABLE_HASH_KEY ShortText
+[[0,0.0,0.0],true]
+column_create Shops location COLUMN_SCALAR WGS84GeoPoint
+[[0,0.0,0.0],true]
+load --table Shops
+[
+{"_key": "たかね", "location": "-324000000x502419287"}
+]
+[[0,0.0,0.0],1]
+select Shops
+[
+ [
+ 0,
+ 0.0,
+ 0.0
+ ],
+ [
+ [
+ [
+ 1
+ ],
+ [
+ [
+ "_id",
+ "UInt32"
+ ],
+ [
+ "_key",
+ "ShortText"
+ ],
+ [
+ "location",
+ "WGS84GeoPoint"
+ ]
+ ],
+ [
+ 1,
+ "たかね",
+ "-324000000x502419287"
+ ]
+ ]
+ ]
+]
Added: test/function/suite/load/scalar-geo-point-valid-small-latitude.test (+9 -0) 100644
===================================================================
--- /dev/null
+++ test/function/suite/load/scalar-geo-point-valid-small-latitude.test 2012-04-20 10:57:58 +0900 (72b228d)
@@ -0,0 +1,9 @@
+table_create Shops TABLE_HASH_KEY ShortText
+column_create Shops location COLUMN_SCALAR WGS84GeoPoint
+
+load --table Shops
+[
+{"_key": "たかね", "location": "-324000000x502419287"}
+]
+
+select Shops