summaryrefslogtreecommitdiff
path: root/test/style/functions.test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/style/functions.test.cpp')
-rw-r--r--test/style/functions.test.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/style/functions.test.cpp b/test/style/functions.test.cpp
index 8ca2f951e7..c50787814b 100644
--- a/test/style/functions.test.cpp
+++ b/test/style/functions.test.cpp
@@ -50,12 +50,6 @@ TEST(Function, Stops) {
EXPECT_EQ(3.0, evaluate(slope_2, 15));
EXPECT_EQ(3.0, evaluate(slope_2, 22));
- // Test no values.
- Function<float> slope_3({}, 1.75);
- EXPECT_EQ(1, evaluate(slope_3, 2));
- EXPECT_EQ(1, evaluate(slope_3, 6));
- EXPECT_EQ(1, evaluate(slope_3, 12));
-
// Explicit constant slope in fringe regions.
Function<float> slope_4({ { 0, 2 }, { 8, 10 } }, 1);