summaryrefslogtreecommitdiff
path: root/platform/darwin/test/MGLCircleStyleLayerTests.mm
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/test/MGLCircleStyleLayerTests.mm')
-rw-r--r--platform/darwin/test/MGLCircleStyleLayerTests.mm50
1 files changed, 25 insertions, 25 deletions
diff --git a/platform/darwin/test/MGLCircleStyleLayerTests.mm b/platform/darwin/test/MGLCircleStyleLayerTests.mm
index d04e5d7271..7bfccd65ef 100644
--- a/platform/darwin/test/MGLCircleStyleLayerTests.mm
+++ b/platform/darwin/test/MGLCircleStyleLayerTests.mm
@@ -69,7 +69,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CameraFunction<float>(
+ propertyValue = mbgl::style::PropertyExpression<float>(
step(zoom(), literal(1.0), 18.0, literal(1.0))
);
}
@@ -84,7 +84,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::SourceFunction<float>(
+ propertyValue = mbgl::style::PropertyExpression<float>(
interpolate(linear(), number(get("keyName")), 18.0, literal(1.0))
);
}
@@ -100,7 +100,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CompositeFunction<float>(
+ propertyValue = mbgl::style::PropertyExpression<float>(
interpolate(linear(), zoom(), 10.0, interpolate(linear(), number(get("keyName")), 18.0, literal(1.0)))
);
}
@@ -147,7 +147,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CameraFunction<mbgl::Color>(
+ propertyValue = mbgl::style::PropertyExpression<mbgl::Color>(
step(zoom(), literal(mbgl::Color(1, 0, 0, 1)), 18.0, literal(mbgl::Color(1, 0, 0, 1)))
);
}
@@ -162,7 +162,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::SourceFunction<mbgl::Color>(
+ propertyValue = mbgl::style::PropertyExpression<mbgl::Color>(
interpolate(linear(), number(get("keyName")), 18.0, literal(mbgl::Color(1, 0, 0, 1)))
);
}
@@ -178,7 +178,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CompositeFunction<mbgl::Color>(
+ propertyValue = mbgl::style::PropertyExpression<mbgl::Color>(
interpolate(linear(), zoom(), 10.0, interpolate(linear(), number(get("keyName")), 18.0, literal(mbgl::Color(1, 0, 0, 1))))
);
}
@@ -225,7 +225,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CameraFunction<float>(
+ propertyValue = mbgl::style::PropertyExpression<float>(
step(zoom(), literal(1.0), 18.0, literal(1.0))
);
}
@@ -240,7 +240,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::SourceFunction<float>(
+ propertyValue = mbgl::style::PropertyExpression<float>(
interpolate(linear(), number(get("keyName")), 18.0, literal(1.0))
);
}
@@ -256,7 +256,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CompositeFunction<float>(
+ propertyValue = mbgl::style::PropertyExpression<float>(
interpolate(linear(), zoom(), 10.0, interpolate(linear(), number(get("keyName")), 18.0, literal(1.0)))
);
}
@@ -303,7 +303,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CameraFunction<mbgl::style::AlignmentType>(
+ propertyValue = mbgl::style::PropertyExpression<mbgl::style::AlignmentType>(
step(zoom(), literal("viewport"), 18.0, literal("viewport"))
);
}
@@ -347,7 +347,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CameraFunction<float>(
+ propertyValue = mbgl::style::PropertyExpression<float>(
step(zoom(), literal(1.0), 18.0, literal(1.0))
);
}
@@ -362,7 +362,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::SourceFunction<float>(
+ propertyValue = mbgl::style::PropertyExpression<float>(
interpolate(linear(), number(get("keyName")), 18.0, literal(1.0))
);
}
@@ -378,7 +378,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CompositeFunction<float>(
+ propertyValue = mbgl::style::PropertyExpression<float>(
interpolate(linear(), zoom(), 10.0, interpolate(linear(), number(get("keyName")), 18.0, literal(1.0)))
);
}
@@ -425,7 +425,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CameraFunction<mbgl::style::CirclePitchScaleType>(
+ propertyValue = mbgl::style::PropertyExpression<mbgl::style::CirclePitchScaleType>(
step(zoom(), literal("viewport"), 18.0, literal("viewport"))
);
}
@@ -469,7 +469,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CameraFunction<mbgl::Color>(
+ propertyValue = mbgl::style::PropertyExpression<mbgl::Color>(
step(zoom(), literal(mbgl::Color(1, 0, 0, 1)), 18.0, literal(mbgl::Color(1, 0, 0, 1)))
);
}
@@ -484,7 +484,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::SourceFunction<mbgl::Color>(
+ propertyValue = mbgl::style::PropertyExpression<mbgl::Color>(
interpolate(linear(), number(get("keyName")), 18.0, literal(mbgl::Color(1, 0, 0, 1)))
);
}
@@ -500,7 +500,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CompositeFunction<mbgl::Color>(
+ propertyValue = mbgl::style::PropertyExpression<mbgl::Color>(
interpolate(linear(), zoom(), 10.0, interpolate(linear(), number(get("keyName")), 18.0, literal(mbgl::Color(1, 0, 0, 1))))
);
}
@@ -547,7 +547,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CameraFunction<float>(
+ propertyValue = mbgl::style::PropertyExpression<float>(
step(zoom(), literal(1.0), 18.0, literal(1.0))
);
}
@@ -562,7 +562,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::SourceFunction<float>(
+ propertyValue = mbgl::style::PropertyExpression<float>(
interpolate(linear(), number(get("keyName")), 18.0, literal(1.0))
);
}
@@ -578,7 +578,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CompositeFunction<float>(
+ propertyValue = mbgl::style::PropertyExpression<float>(
interpolate(linear(), zoom(), 10.0, interpolate(linear(), number(get("keyName")), 18.0, literal(1.0)))
);
}
@@ -625,7 +625,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CameraFunction<float>(
+ propertyValue = mbgl::style::PropertyExpression<float>(
step(zoom(), literal(1.0), 18.0, literal(1.0))
);
}
@@ -640,7 +640,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::SourceFunction<float>(
+ propertyValue = mbgl::style::PropertyExpression<float>(
interpolate(linear(), number(get("keyName")), 18.0, literal(1.0))
);
}
@@ -656,7 +656,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CompositeFunction<float>(
+ propertyValue = mbgl::style::PropertyExpression<float>(
interpolate(linear(), zoom(), 10.0, interpolate(linear(), number(get("keyName")), 18.0, literal(1.0)))
);
}
@@ -709,7 +709,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CameraFunction<std::array<float, 2>>(
+ propertyValue = mbgl::style::PropertyExpression<std::array<float, 2>>(
step(zoom(), literal({ 1, 1 }), 18.0, literal({ 1, 1 }))
);
}
@@ -753,7 +753,7 @@
{
using namespace mbgl::style::expression::dsl;
- propertyValue = mbgl::style::CameraFunction<mbgl::style::TranslateAnchorType>(
+ propertyValue = mbgl::style::PropertyExpression<mbgl::style::TranslateAnchorType>(
step(zoom(), literal("viewport"), 18.0, literal("viewport"))
);
}