File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
api/src/test/java/net/kyori/adventure/util Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 30
30
import net .kyori .adventure .text .format .TextColor ;
31
31
import org .jspecify .annotations .NullMarked ;
32
32
import org .junit .jupiter .api .Test ;
33
+
33
34
import static org .junit .jupiter .api .Assertions .assertArrayEquals ;
34
35
import static org .junit .jupiter .api .Assertions .assertDoesNotThrow ;
35
36
import static org .junit .jupiter .api .Assertions .assertEquals ;
@@ -59,7 +60,7 @@ private static void assertRgbToHsvConversionRoughlyMatchesJavaAwtColor(final RGB
59
60
);
60
61
}
61
62
62
- private static float [] roundFloats (final float [] floats ) {
63
+ private static float [] roundFloats (final float [] floats ) {
63
64
final float [] result = new float [floats .length ];
64
65
for (int i = 0 ; i < floats .length ; i ++) {
65
66
result [i ] = BigDecimal .valueOf (floats [i ]).setScale (7 , RoundingMode .UP ).floatValue ();
You can’t perform that action at this time.
0 commit comments