Reformat code
This commit is contained in:
1 parent
51c12cc0ea
commit
60c654936a
31 files changed
+262
-466
No files matched your search
@@ -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},
|
||||
|
||||
Reference in new issue
Block a user