Reformat code

This commit is contained in:
niklas committed 2026-11-12 13:52:04 +01:00
1 parent 51c12cc0ea
commit 60c654936a
31 files changed
+262 -466

No files matched your search

+6 -12
View File
@@ -3,11 +3,9 @@ package search;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
class LabyrinthineNodeTest
{
class LabyrinthineNodeTest {
@Test
public void shouldReturnTrueWhenTargetReached()
{
public void shouldReturnTrueWhenTargetReached() {
final boolean[][] state = {
{true, true, true},
{true, true, true},
@@ -21,8 +19,7 @@ class LabyrinthineNodeTest
}
@Test
public void shouldReturnFalseWhenTargetNotReached()
{
public void shouldReturnFalseWhenTargetNotReached() {
final boolean[][] actualState = {
{true, false, true},
{false, true, false},
@@ -42,8 +39,7 @@ class LabyrinthineNodeTest
}
@Test
public void shouldReturnNonEmptyListOfSuccessors()
{
public void shouldReturnNonEmptyListOfSuccessors() {
final boolean[][] state = {
{true, false, true},
{false, true, false},
@@ -57,8 +53,7 @@ class LabyrinthineNodeTest
}
@Test
public void shouldReturnCorrectSuccessor()
{
public void shouldReturnCorrectSuccessor() {
final boolean[][] state = {
{true, false, true},
{true, true, true},
@@ -82,8 +77,7 @@ class LabyrinthineNodeTest
}
@Test
public void shouldReturnCorrectSuccessors()
{
public void shouldReturnCorrectSuccessors() {
final boolean[][] state = {
{true, false, true},
{true, true, false},