-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathtests.txt
262 lines (208 loc) · 8.17 KB
/
tests.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
linkDatasetWithDatasetBreeds
OPEN> extensions/gis/examples/link_dataset_with_dataset_breeds.nlogo
O> setup
test => true
TestSetPropertyValue
OPEN> extensions/gis/examples/set_property.nlogo
O> setup
O> test
TestProjectLatLon-wgs84-wgs84
OPEN> extensions/gis/examples/project-lat-lon.nlogo
O> run-test-wgs84-wgs84
TestProjectLatLon-wgs84-projected
OPEN> extensions/gis/examples/project-lat-lon.nlogo
O> run-test-wgs84-projected
TestProjectLatLon-nad83-nad83
OPEN> extensions/gis/examples/project-lat-lon.nlogo
O> run-test-nad83-nad83
TestProjectLatLon-nad83-wgs84
OPEN> extensions/gis/examples/project-lat-lon.nlogo
O> run-test-nad83-wgs84
TestProjectLatLon-nad83-projected
OPEN> extensions/gis/examples/project-lat-lon.nlogo
O> run-test-nad83-projected
TestImportPointZ-shapefile
OPEN> extensions/gis/examples/VectorDatasetZImporting/PointZ.nlogo
O> test-PointZ-shapefile
TestImportPointZ-geojson
OPEN> extensions/gis/examples/VectorDatasetZImporting/PointZ.nlogo
O> test-PointZ-geojson
TestImportIgnoredZ-shapefile
OPEN> extensions/gis/examples/VectorDatasetZImporting/NonPointZFeatures.nlogo
O> test-MultiPointZ
O> test-PolyLineZ
O> test-PolygonZ
TestGeoJSONImport_DC_Metro
OPEN> extensions/gis/examples/geojson/geojson_import_test.nlogo
O> test-metro
TestGeoJSONImport_Point
OPEN> extensions/gis/examples/geojson/geojson_import_test.nlogo
O> test-Point
TestGeoJSONImport_MultiPoint
OPEN> extensions/gis/examples/geojson/geojson_import_test.nlogo
O> test-MultiPoint
TestGeoJSONImport_LineString
OPEN> extensions/gis/examples/geojson/geojson_import_test.nlogo
O> test-LineString
TestGeoJSONImport_MutliLineString
OPEN> extensions/gis/examples/geojson/geojson_import_test.nlogo
O> test-MultiLineString
TestGeoJSONImport_Polygon
OPEN> extensions/gis/examples/geojson/geojson_import_test.nlogo
O> test-Polygon
TestGeoJSONImport_Polygon_with_hole
OPEN> extensions/gis/examples/geojson/geojson_import_test.nlogo
O> test-Polygon_with_hole
TestGeoJSONImport_MultiPolygon
OPEN> extensions/gis/examples/geojson/geojson_import_test.nlogo
O> test-MultiPolygon
TestGeoJSONImport_Feature
OPEN> extensions/gis/examples/geojson/geojson_import_test.nlogo
O> test-Feature
testGeoJSONImport_FeatureCollectionHomogenous
OPEN> extensions/gis/examples/geojson/geojson_import_test.nlogo
O> test-FeatureCollectionHomogenous
TestGeoJSONImport_FeatureCollectionHeterogenous
OPEN> extensions/gis/examples/geojson/geojson_import_test.nlogo
test-FeatureCollectionHeterogenous => true
testGeoJSONImport_FeatureCollectionDefaultFilling
OPEN> extensions/gis/examples/geojson/geojson_import_test.nlogo
O> test-FeatureCollectionDefaultFilling
TestGeoJSONImport_GeometryCollection
OPEN> extensions/gis/examples/geojson/geojson_import_test.nlogo
test-GeometryCollection => true
TestGeoJSONExport_DC_Metro
OPEN> extensions/gis/examples/geojson/geojson_export_test.nlogo
O> test-metro
TestGeoJSONExport_Point
OPEN> extensions/gis/examples/geojson/geojson_export_test.nlogo
O> test-Point
TestGeoJSONExport_MultiPoint
OPEN> extensions/gis/examples/geojson/geojson_export_test.nlogo
O> test-MultiPoint
TestGeoJSONExport_LineString
OPEN> extensions/gis/examples/geojson/geojson_export_test.nlogo
O> test-LineString
TestGeoJSONExport_MutliLineString
OPEN> extensions/gis/examples/geojson/geojson_export_test.nlogo
O> test-MultiLineString
TestGeoJSONExport_Polygon
OPEN> extensions/gis/examples/geojson/geojson_export_test.nlogo
O> test-Polygon
TestGeoJSONExport_Polygon_with_hole
OPEN> extensions/gis/examples/geojson/geojson_export_test.nlogo
O> test-Polygon_with_hole
TestGeoJSONExport_MultiPolygon
OPEN> extensions/gis/examples/geojson/geojson_export_test.nlogo
O> test-MultiPolygon
TestGeoJSONExport_Feature
OPEN> extensions/gis/examples/geojson/geojson_export_test.nlogo
O> test-Feature
testGeoJSONExport_FeatureCollectionHomogenous
OPEN> extensions/gis/examples/geojson/geojson_export_test.nlogo
O> test-FeatureCollectionHomogenous
testFindOneFeature
OPEN> extensions/gis/examples/find-features.nlogo
O> setup
O> test-find-one-feature-string
O> setup
O> test-find-one-feature-number
testFindFeatures
OPEN> extensions/gis/examples/find-features.nlogo
O> setup
O> test-find-features-string
O> setup
O> test-find-features-number
testCreateTurtlesFromPoints_color
OPEN> extensions/gis/examples/create-turtles-from-points/built-in-variables-test.nlogo
O> setup
O> test-color
[color] of turtle 0 => 55
testCreateTurtlesFromPoints_color-str
OPEN> extensions/gis/examples/create-turtles-from-points/built-in-variables-test.nlogo
O> setup
O> test-color-str
[color] of turtle 0 => 105
testCreateTurtlesFromPoints_heading
OPEN> extensions/gis/examples/create-turtles-from-points/built-in-variables-test.nlogo
O> setup
O> test-heading
[heading] of turtle 0 => 15
testCreateTurtlesFromPoints_shape
OPEN> extensions/gis/examples/create-turtles-from-points/built-in-variables-test.nlogo
O> setup
O> test-shape
[shape] of turtle 0 => "circle"
testCreateTurtlesFromPoints_label
OPEN> extensions/gis/examples/create-turtles-from-points/built-in-variables-test.nlogo
O> setup
O> test-label
[label] of turtle 0 => "circle"
testCreateTurtlesFromPoints_label-color
OPEN> extensions/gis/examples/create-turtles-from-points/built-in-variables-test.nlogo
O> setup
O> test-label-color
[label-color] of turtle 0 => 55
testCreateTurtlesFromPoints_label-color-str
OPEN> extensions/gis/examples/create-turtles-from-points/built-in-variables-test.nlogo
O> setup
O> test-label-color-str
[label-color] of turtle 0 => 105
testCreateTurtlesFromPoints_hidden-str
OPEN> extensions/gis/examples/create-turtles-from-points/built-in-variables-test.nlogo
O> setup
O> test-hidden-str
[hidden?] of turtle 0 => true
testCreateTurtlesFromPoints_hidden-num
OPEN> extensions/gis/examples/create-turtles-from-points/built-in-variables-test.nlogo
O> setup
O> test-hidden-num
[hidden?] of turtle 0 => true
testCreateTurtlesFromPoints_size
OPEN> extensions/gis/examples/create-turtles-from-points/built-in-variables-test.nlogo
O> setup
O> test-size
[size] of turtle 0 => 15
testCreateTurtlesFromPoints_pen-mode
OPEN> extensions/gis/examples/create-turtles-from-points/built-in-variables-test.nlogo
O> setup
O> test-pen-mode
[pen-mode] of turtle 0 => "down"
testCreateTurtlesFromPoints_position
OPEN> extensions/gis/examples/create-turtles-from-points/create-turtles-from-points-testing.nlogo
O> test
testCreateTurtlesFromPoints_empty-vars
OPEN> extensions/gis/examples/create-turtles-from-points/create-turtles-from-points-testing.nlogo
O> test-empty
testCreateTurtlesFromPoints_manual
OPEN> extensions/gis/examples/create-turtles-from-points/create-turtles-from-points-testing.nlogo
O> test-manual
testCreateTurtlesFromPoints_fail-on-non-breed-turtlesets
OPEN> extensions/gis/examples/create-turtles-from-points/create-turtles-from-points-testing.nlogo
test-fail-on-non-breed-turtlesets => true
testCreateTurtlesInsidePolygon_automatic
OPEN> extensions/gis/examples/create-turtles-inside-polygon.nlogo
O> test-automatic
testCreateTurtlesInsidePolygon_manual
OPEN> extensions/gis/examples/create-turtles-inside-polygon.nlogo
O> test-manual
testCreateTurtlesInsidePolygon_turtles_as_agentset
OPEN> extensions/gis/examples/create-turtles-inside-polygon.nlogo
O> test-turtles
testCreateTurtlesInsidePolygon_num_turtles_created
OPEN> extensions/gis/examples/create-turtles-inside-polygon.nlogo
O> test-num-agents-created
FindFeaturesSearch
extensions [gis]
globals [ciudades]
O> clear-all
O> set ciudades gis:load-dataset "extensions/gis/examples/shared-datasets/cities.geojson"
length (gis:find-features ciudades "NAME" "San") => 0
length (gis:find-features ciudades "NAME" "*San") => 0
length (gis:find-features ciudades "NAME" "San*") => 15
length (gis:find-features ciudades "NAME" "*San*") => 15
length (gis:find-features ciudades "NAME" "*san*") => 2
length (gis:find-features ciudades "NAME" "San Juan") => 1
length (gis:find-features ciudades "NAME" "San Juan*") => 1
length (gis:find-features ciudades "NAME" "*San Juan") => 1
length (gis:find-features ciudades "NAME" "*San Juan*") => 1