run spotless

This commit is contained in:
Algent committed 2026-08-14 19:44:56 +02:00
1 parent 224380b708
commit 5c087c50b5
2 files changed
+8 -9

No files matched your search

@@ -71,7 +71,8 @@ public final class ForgeMultipartFunctionalTestMod {
throw new IllegalStateException("No ForgeMultipart functional tests were discovered");
}
if (summary.getTotalFailureCount() > 0) {
throw new IllegalStateException("ForgeMultipart functional tests failed; check junit-out and the server log");
throw new IllegalStateException(
"ForgeMultipart functional tests failed; check junit-out and the server log");
}
server.addChatMessage(new ChatComponentText("ForgeMultipart functional tests passed"));
@@ -91,8 +92,7 @@ public final class ForgeMultipartFunctionalTestMod {
}
LauncherDiscoveryRequest discovery = LauncherDiscoveryRequestBuilder.request()
.selectors(DiscoverySelectors.selectPackage("codechicken.multipart.test"))
.build();
.selectors(DiscoverySelectors.selectPackage("codechicken.multipart.test")).build();
SummaryGeneratingListener summaryListener = new SummaryGeneratingListener();
PrintWriter stderr = new PrintWriter(System.err, true);
LegacyXmlReportGeneratingListener xmlListener = new LegacyXmlReportGeneratingListener(reportDirectory, stderr);
@@ -55,14 +55,13 @@ class NormalOcclusionCharacterizationTest {
@Test
void everyBoxPairMustBeCompatible() {
Traversable<Cuboid6> existing = scalaBoxes(
box(0, 0, 0, 0.2, 0.2, 0.2),
box(0.8, 0.8, 0.8, 1, 1, 1));
Traversable<Cuboid6> existing = scalaBoxes(box(0, 0, 0, 0.2, 0.2, 0.2), box(0.8, 0.8, 0.8, 1, 1, 1));
assertTrue(NormalOcclusionTest.apply(existing, scalaBoxes(box(0.3, 0.3, 0.3, 0.4, 0.4, 0.4))));
assertFalse(NormalOcclusionTest.apply(
existing,
scalaBoxes(box(0.3, 0.3, 0.3, 0.4, 0.4, 0.4), box(0.9, 0.9, 0.9, 0.95, 0.95, 0.95))));
assertFalse(
NormalOcclusionTest.apply(
existing,
scalaBoxes(box(0.3, 0.3, 0.3, 0.4, 0.4, 0.4), box(0.9, 0.9, 0.9, 0.95, 0.95, 0.95))));
}
@Test