summaryrefslogtreecommitdiff
path: root/test/fixtures
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-02-26 23:47:39 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2024-02-26 23:47:39 +0000
commitaa07f1bdd607a6dead9cdec59ff950f6e9a5c28c (patch)
treea54ddc944b7f9f93585e05bff17904bf996b26ac /test/fixtures
parentAdd helper for loading fixtures for data tests from fixture JSON (diff)
downloadilt-aa07f1bdd607a6dead9cdec59ff950f6e9a5c28c.tar.bz2
ilt-aa07f1bdd607a6dead9cdec59ff950f6e9a5c28c.tar.xz
ilt-aa07f1bdd607a6dead9cdec59ff950f6e9a5c28c.zip
Load terrain deform fixture data from JSON
Diffstat (limited to 'test/fixtures')
-rw-r--r--test/fixtures/geoData/deform/1.json73
1 files changed, 73 insertions, 0 deletions
diff --git a/test/fixtures/geoData/deform/1.json b/test/fixtures/geoData/deform/1.json
new file mode 100644
index 0000000..33ac86d
--- /dev/null
+++ b/test/fixtures/geoData/deform/1.json
@@ -0,0 +1,73 @@
+[
+ [
+ [
+ [
+ 70100,
+ 123000,
+ 6000
+ ],
+ [
+ 50100,
+ 52300,
+ 6000
+ ],
+ [
+ 191000,
+ 283000,
+ 8000
+ ],
+ [
+ 241000,
+ 123330,
+ -2000
+ ]
+ ],
+ [
+ [
+ [
+ [
+ 20000,
+ 20000,
+ 90000
+ ],
+ [
+ 1,
+ 1,
+ -1.5
+ ]
+ ],
+ "/tmp/geoData0.tga"
+ ],
+ [
+ [
+ [
+ 30000,
+ 164000,
+ 90000
+ ],
+ [
+ 1,
+ -1,
+ -1.5
+ ]
+ ],
+ "/tmp/geoData1.tga"
+ ],
+ [
+ [
+ [
+ 288000,
+ 162000,
+ 90000
+ ],
+ [
+ -1,
+ -1,
+ -1.5
+ ]
+ ],
+ "/tmp/geoData2.tga"
+ ]
+ ]
+ ]
+]