compare-geojson
Version:
Compare a features new and old versions in GeoJSON
47 lines (46 loc) • 1.08 kB
JSON
{
"compareFunction": "invalid-tag-combination",
"fixtures": [
{
"description": "Test feature with invalid tag combination with count less than 1",
"expectedResult": {
"result:invalid_tag_combination": true
},
"newVersion": {
"type": "Feature",
"properties": {
"tourism": "yes",
"amenity": "yes"
},
"geometry": null
},
"oldVersion": null
},
{
"description": "Test feature with invalid tag combination with count greater than 1",
"expectedResult": {},
"newVersion": {
"type": "Feature",
"properties": {
"sport": "yes",
"leisure": "yes"
},
"geometry": null
},
"oldVersion": null
},
{
"description": "Test feature with no primary tags",
"expectedResult": {},
"newVersion": {
"type": "Feature",
"properties": {
"name": "Hello, world!",
"version": "1"
},
"geometry": null
},
"oldVersion": null
}
]
}