Skip to content

Commit e57eb50

Browse files
committed
Fix tests
1 parent cf24de8 commit e57eb50

File tree

4 files changed

+42
-2
lines changed

4 files changed

+42
-2
lines changed

test/integration/expression/tests/interpolate-projection/higher-than-stop/test.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
{
2+
"propertySpec": {
3+
"type": "projection",
4+
"property-type": "data-constant",
5+
"expression": {
6+
"interpolated": true,
7+
"parameters": [
8+
"zoom"
9+
]
10+
}
11+
},
212
"expression": [
313
"interpolate",
414
[
@@ -28,7 +38,7 @@
2838
"type": "projection"
2939
},
3040
"outputs": [
31-
"mercator"
41+
["mercator", "mercator", 1]
3242
]
3343
}
3444
}

test/integration/expression/tests/interpolate-projection/linear/test.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
{
2+
"propertySpec": {
3+
"type": "projection",
4+
"property-type": "data-constant",
5+
"expression": {
6+
"interpolated": true,
7+
"parameters": [
8+
"zoom"
9+
]
10+
}
11+
},
212
"expression": [
313
"interpolate",
414
[

test/integration/expression/tests/interpolate-projection/lower-than-stop/test.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
{
2+
"propertySpec": {
3+
"type": "projection",
4+
"property-type": "data-constant",
5+
"expression": {
6+
"interpolated": true,
7+
"parameters": [
8+
"zoom"
9+
]
10+
}
11+
},
212
"expression": [
313
"interpolate",
414
[
@@ -28,7 +38,7 @@
2838
"type": "projection"
2939
},
3040
"outputs": [
31-
"vertical-perspective"
41+
["vertical-perspective", "vertical-perspective", 1]
3242
]
3343
}
3444
}

test/integration/expression/tests/interpolate-projection/same-from-to/test.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
{
2+
"propertySpec": {
3+
"type": "projection",
4+
"property-type": "data-constant",
5+
"expression": {
6+
"interpolated": true,
7+
"parameters": [
8+
"zoom"
9+
]
10+
}
11+
},
212
"expression": [
313
"interpolate",
414
[

0 commit comments

Comments
 (0)