Skip to content

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Sep 13, 2021
1 parent b76ac5b commit 1dc7516
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/src/python/test_qgsmapboxglconverter.py
Expand Up @@ -78,7 +78,6 @@ def testParseInterpolateColorByZoom(self):
'CASE WHEN @vector_tile_zoom >= 0 AND @vector_tile_zoom < 150 THEN color_hsla(scale_exp(@vector_tile_zoom,0,150,59,352,2), scale_exp(@vector_tile_zoom,0,150,81,59,2), scale_exp(@vector_tile_zoom,0,150,70,44,2), 255) WHEN @vector_tile_zoom >= 150 AND @vector_tile_zoom < 250 THEN color_hsla(scale_exp(@vector_tile_zoom,150,250,352,0,2), scale_exp(@vector_tile_zoom,150,250,59,72,2), scale_exp(@vector_tile_zoom,150,250,44,63,2), 255) WHEN @vector_tile_zoom >= 250 THEN color_hsla(0, 72, 63, 255) ELSE color_hsla(0, 72, 63, 255) END')
self.assertEqual(default_col.name(), '#f1f075')

#test parseInterpolateColorByZoom if colors are expressios
props, default_col = QgsMapBoxGlStyleConverter.parseInterpolateColorByZoom({'base': 1,
"stops": [["9",
[
Expand Down

0 comments on commit 1dc7516

Please sign in to comment.