diff options
Diffstat (limited to 'test/style')
-rw-r--r-- | test/style/conversion/stringify.test.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/style/conversion/stringify.test.cpp b/test/style/conversion/stringify.test.cpp index dd04789d4b..1dae20b26b 100644 --- a/test/style/conversion/stringify.test.cpp +++ b/test/style/conversion/stringify.test.cpp @@ -101,9 +101,12 @@ TEST(Stringify, SourceFunction) { TEST(Stringify, CompositeFunction) { ASSERT_EQ(stringify(CompositeFunction<float>("property", - std::map<float, ExponentialStops<float>> { - { 0, ExponentialStops<float> { {{0, 1}}, 2 } }, - { 1, ExponentialStops<float> { {{0, 1}}, 2 } } + CompositeExponentialStops<float> { + { + { 0, {{0, 1}} }, + { 1, {{0, 1}} } + }, + 2 }, 0.0f)), "{\"property\":\"property\",\"type\":\"exponential\",\"base\":2.0," "\"stops\":[" |