1703: Make Color.HRHConv test runtime more reasonable r=Learath2 a=def-

Previous execution time: 650 ms / 661 ms total (98%)
Now:                       3 ms /  15 ms total (20%)

Co-authored-by: def <dennis@felsin9.de>
This commit is contained in:
bors[bot] 2019-05-09 20:01:10 +00:00
commit ab0a8940cb

View file

@ -7,7 +7,7 @@
TEST(Color, HRHConv)
{
for(int i = 0; i < 0xFFFFFF; i++){
for(int i = 0; i < 0xFFFFFF; i+= 0xFF){
ColorHSLA hsl = i;
ColorRGBA rgb = color_cast<ColorRGBA>(hsl);
ColorHSLA hsl2 = color_cast<ColorHSLA>(rgb);