Make Color.HRHConv test runtime more reasonable

Previous execution time: 650 ms / 661 ms total (98%)
Now:                       3 ms /  15 ms total (20%)
This commit is contained in:
def 2019-05-09 21:55:34 +02:00
parent 0fffd7705f
commit 51385100cd

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);