@@ -113,10 +113,10 @@ defmodule Scenic.ColorTest do
113113
114114 assert Color . to_hsv ( 0 ) == { :color_hsv , { 0 , 0 , 0 } }
115115
116- { :color_hsv , { 0.0 , 0.0 , v } } = Color . to_hsv ( 128 )
116+ { :color_hsv , { + 0.0 , + 0.0 , v } } = Color . to_hsv ( 128 )
117117 assert v > 50 && v < 51
118118
119- { :color_hsv , { 0.0 , 0.0 , v } } = Color . to_hsv ( { 128 , 200 } )
119+ { :color_hsv , { + 0.0 , + 0.0 , v } } = Color . to_hsv ( { 128 , 200 } )
120120 assert v > 50 && v < 51
121121
122122 assert Color . to_hsv ( :bisque ) |> Color . to_rgb ( ) == rgb
@@ -130,10 +130,10 @@ defmodule Scenic.ColorTest do
130130 hsl = Color . to_hsl ( :bisque )
131131 rgb = Color . to_rgb ( :bisque )
132132
133- { :color_hsv , { 0.0 , 0.0 , v } } = Color . to_hsv ( { :color_g , 128 } )
133+ { :color_hsv , { + 0.0 , + 0.0 , v } } = Color . to_hsv ( { :color_g , 128 } )
134134 assert v > 50 && v < 51
135135
136- { :color_hsv , { 0.0 , 0.0 , v } } = Color . to_hsv ( { :color_ga , { 128 , 200 } } )
136+ { :color_hsv , { + 0.0 , + 0.0 , v } } = Color . to_hsv ( { :color_ga , { 128 , 200 } } )
137137 assert v > 50 && v < 51
138138
139139 assert Color . to_hsv ( rgb ) |> Color . to_rgb ( ) == rgb
@@ -148,10 +148,10 @@ defmodule Scenic.ColorTest do
148148
149149 assert Color . to_hsl ( 0 ) == { :color_hsl , { 0 , 0 , 0 } }
150150
151- { :color_hsl , { 0.0 , 0.0 , l } } = Color . to_hsl ( 128 )
151+ { :color_hsl , { + 0.0 , + 0.0 , l } } = Color . to_hsl ( 128 )
152152 assert l > 50 && l < 51
153153
154- { :color_hsl , { 0.0 , 0.0 , l } } = Color . to_hsl ( { 128 , 200 } )
154+ { :color_hsl , { + 0.0 , + 0.0 , l } } = Color . to_hsl ( { 128 , 200 } )
155155 assert l > 50 && l < 51
156156
157157 assert Color . to_hsl ( :bisque ) |> Color . to_rgb ( ) == rgb
@@ -164,10 +164,10 @@ defmodule Scenic.ColorTest do
164164 # from bisque
165165 rgb = Color . to_rgb ( :bisque )
166166
167- { :color_hsl , { 0.0 , 0.0 , l } } = Color . to_hsl ( { :color_g , 128 } )
167+ { :color_hsl , { + 0.0 , + 0.0 , l } } = Color . to_hsl ( { :color_g , 128 } )
168168 assert l > 50 && l < 51
169169
170- { :color_hsl , { 0.0 , 0.0 , l } } = Color . to_hsl ( { :color_ga , { 128 , 200 } } )
170+ { :color_hsl , { + 0.0 , + 0.0 , l } } = Color . to_hsl ( { :color_ga , { 128 , 200 } } )
171171 assert l > 50 && l < 51
172172
173173 assert Color . to_hsl ( { :color_rgb , { 0xFF , 0xE4 , 0xC4 } } ) |> Color . to_rgb ( ) == rgb
0 commit comments