mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-20 12:19:58 +00:00
run spotless
This commit is contained in:
1 parent
224380b708
commit
5c087c50b5
2 files changed
+8
-9
No files matched your search
+3
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user