diff --git a/src/search/breadthfirstsearch/BreadthFirstSearch.java b/src/search/uninformed/breadthfirstsearch/BreadthFirstSearch.java similarity index 92% rename from src/search/breadthfirstsearch/BreadthFirstSearch.java rename to src/search/uninformed/breadthfirstsearch/BreadthFirstSearch.java index fa8e7a2..097aa66 100644 --- a/src/search/breadthfirstsearch/BreadthFirstSearch.java +++ b/src/search/uninformed/breadthfirstsearch/BreadthFirstSearch.java @@ -1,4 +1,4 @@ -package search.breadthfirstsearch; +package search.uninformed.breadthfirstsearch; import search.Node; diff --git a/src/search/depthfirstsearch/DepthFirstSearch.java b/src/search/uninformed/depthfirstsearch/DepthFirstSearch.java similarity index 92% rename from src/search/depthfirstsearch/DepthFirstSearch.java rename to src/search/uninformed/depthfirstsearch/DepthFirstSearch.java index 76ae7e0..0e98c42 100644 --- a/src/search/depthfirstsearch/DepthFirstSearch.java +++ b/src/search/uninformed/depthfirstsearch/DepthFirstSearch.java @@ -1,4 +1,4 @@ -package search.depthfirstsearch; +package search.uninformed.depthfirstsearch; import search.Node; diff --git a/src/search/iterativedeepening/IterativeDeepening.java b/src/search/uninformed/iterativedeepening/IterativeDeepening.java similarity index 95% rename from src/search/iterativedeepening/IterativeDeepening.java rename to src/search/uninformed/iterativedeepening/IterativeDeepening.java index ac932f5..ac6089b 100644 --- a/src/search/iterativedeepening/IterativeDeepening.java +++ b/src/search/uninformed/iterativedeepening/IterativeDeepening.java @@ -1,4 +1,4 @@ -package search.iterativedeepening; +package search.uninformed.iterativedeepening; import search.Node; diff --git a/test/search/breadthfirstsearch/BreadthFirstSearchTest.java b/test/search/uninformed/breadthfirstsearch/BreadthFirstSearchTest.java similarity index 92% rename from test/search/breadthfirstsearch/BreadthFirstSearchTest.java rename to test/search/uninformed/breadthfirstsearch/BreadthFirstSearchTest.java index d51b2b7..ce5e6f4 100644 --- a/test/search/breadthfirstsearch/BreadthFirstSearchTest.java +++ b/test/search/uninformed/breadthfirstsearch/BreadthFirstSearchTest.java @@ -1,4 +1,4 @@ -package search.breadthfirstsearch; +package search.uninformed.breadthfirstsearch; import org.junit.jupiter.api.Test; import search.EightPuzzleNode; @@ -32,7 +32,7 @@ class BreadthFirstSearchTest } @Test - void shouldReturnCorrectTargetChubekNode() + void shouldReturnCorrectTargetCubekNode() { int[][] state = { {2, 0, 4}, diff --git a/test/search/depthfirstsearch/DepthFirstSearchTest.java b/test/search/uninformed/depthfirstsearch/DepthFirstSearchTest.java similarity index 93% rename from test/search/depthfirstsearch/DepthFirstSearchTest.java rename to test/search/uninformed/depthfirstsearch/DepthFirstSearchTest.java index 0c73d5c..68751df 100644 --- a/test/search/depthfirstsearch/DepthFirstSearchTest.java +++ b/test/search/uninformed/depthfirstsearch/DepthFirstSearchTest.java @@ -1,4 +1,4 @@ -package search.depthfirstsearch; +package search.uninformed.depthfirstsearch; import org.junit.jupiter.api.Test; import search.EightPuzzleNode; diff --git a/test/search/iterativedeepening/IterativeDeepeningTest.java b/test/search/uninformed/iterativedeepening/IterativeDeepeningTest.java similarity index 84% rename from test/search/iterativedeepening/IterativeDeepeningTest.java rename to test/search/uninformed/iterativedeepening/IterativeDeepeningTest.java index 8d509e0..b3a5f69 100644 --- a/test/search/iterativedeepening/IterativeDeepeningTest.java +++ b/test/search/uninformed/iterativedeepening/IterativeDeepeningTest.java @@ -1,12 +1,8 @@ -package search.iterativedeepening; +package search.uninformed.iterativedeepening; import org.junit.jupiter.api.Test; import search.EightPuzzleNode; -import search.breadthfirstsearch.BreadthFirstSearch; -import java.util.List; - -import static org.junit.jupiter.api.Assertions.*; import static search.SearchTestUtils.printSolution; class IterativeDeepeningTest @@ -34,7 +30,7 @@ class IterativeDeepeningTest } @Test - void shouldReturnCorrectTargetChubekNode() + void shouldReturnCorrectTargetCubekNode() { int[][] state = { {2, 0, 4},