Merge pull request #115933 from m4gr3d/fix_test_color_breaking_on_android

Fix `TestColor` build failure on Windows
This commit is contained in:
Thaddeus Crews
2026-02-09 15:07:06 -06:00
+1 -1
View File
@@ -61,7 +61,7 @@ TEST_CASE("[Color] Constructor methods") {
"Creation with invalid HTML notation should result in a Color with the default values.");
constexpr Color green_rgba = Color(0, 1, 0, 0.25);
const Color green_hsva = Color(0, 0, 0).from_hsv(120 / 360.0, 1, 1, 0.25);
const Color green_hsva = Color::from_hsv(120 / 360.0, 1, 1, 0.25);
CHECK_MESSAGE(
green_rgba.is_equal_approx(green_hsva),