From 430f65e740d2380f0b46a9e5c1ed4c11a083b7fe Mon Sep 17 00:00:00 2001 From: powercas_gamer Date: Thu, 19 Oct 2023 19:42:04 +0200 Subject: [PATCH] chore(tests): fixup --- api/src/test/java/net/kyori/adventure/util/HSVLikeTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/src/test/java/net/kyori/adventure/util/HSVLikeTest.java b/api/src/test/java/net/kyori/adventure/util/HSVLikeTest.java index 62c0ef82a..4692e7fbd 100644 --- a/api/src/test/java/net/kyori/adventure/util/HSVLikeTest.java +++ b/api/src/test/java/net/kyori/adventure/util/HSVLikeTest.java @@ -30,6 +30,7 @@ import net.kyori.adventure.text.format.TextColor; import org.jspecify.annotations.NullMarked; import org.junit.jupiter.api.Test; + import static org.junit.jupiter.api.Assertions.assertArrayEquals; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertEquals; @@ -59,7 +60,7 @@ private static void assertRgbToHsvConversionRoughlyMatchesJavaAwtColor(final RGB ); } - private static float[] roundFloats(final float [] floats) { + private static float[] roundFloats(final float[] floats) { final float[] result = new float[floats.length]; for (int i = 0; i < floats.length; i++) { result[i] = BigDecimal.valueOf(floats[i]).setScale(7, RoundingMode.UP).floatValue();