refactor timezoner a bit for unit tests, add initial unit tests

This commit is contained in:
karenzshea
2017-05-29 23:07:03 +02:00
parent f268163ea0
commit ca353eb7db
6 changed files with 232 additions and 77 deletions
+38
View File
@@ -0,0 +1,38 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {
"TZID": "Europe\\/Berlin"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
8.28369140625,
48.88277959345126
],
[
8.57757568359375,
48.88277959345126
],
[
8.57757568359375,
49.07206662261101
],
[
8.28369140625,
49.07206662261101
],
[
8.28369140625,
48.88277959345126
]
], []
]
}
}
]
}