@@ -100,6 +100,26 @@ public void aMazeIsDifferentEachTimeItIsGenerated() {
100100 .isNotEqualTo (maze2 );
101101 }
102102
103+ @ Disabled ("Remove to run test" )
104+ @ Test
105+ @ DisplayName ("Maze is generated perfectly (single path, no isolated cells)" )
106+ public void theMazeIsPerfect () {
107+ var maze = sut .generatePerfectMaze (RECTANGLE_ROWS , RECTANGLE_COLUMNS );
108+
109+ assertThatMazeHasSinglePath (maze );
110+ assertThatMazeHasNoIsolatedSections (maze );
111+ }
112+
113+ @ Disabled ("Remove to run test" )
114+ @ Test
115+ @ DisplayName ("Maze with a seed is generated perfectly (single path, no isolated cells)" )
116+ public void theMazeIsPerfectWithSeed () {
117+ var maze = sut .generatePerfectMaze (RECTANGLE_ROWS , RECTANGLE_COLUMNS , SEED_ONE );
118+
119+ assertThatMazeHasSinglePath (maze );
120+ assertThatMazeHasNoIsolatedSections (maze );
121+ }
122+
103123 @ Disabled ("Remove to run test" )
104124 @ Test
105125 @ DisplayName ("Mazes generated with same seed are identical" )
@@ -124,26 +144,6 @@ public void twoMazesWithDifferentSeedsShouldNotBeEqual() {
124144 .isNotEqualTo (maze2 );
125145 }
126146
127- @ Disabled ("Remove to run test" )
128- @ Test
129- @ DisplayName ("Maze is generated perfectly (single path, no isolated cells)" )
130- public void theMazeIsPerfect () {
131- var maze = sut .generatePerfectMaze (RECTANGLE_ROWS , RECTANGLE_COLUMNS );
132-
133- assertThatMazeHasSinglePath (maze );
134- assertThatMazeHasNoIsolatedSections (maze );
135- }
136-
137- @ Disabled ("Remove to run test" )
138- @ Test
139- @ DisplayName ("Maze with a seed is generated perfectly (single path, no isolated cells)" )
140- public void theMazeIsPerfectWithSeed () {
141- var maze = sut .generatePerfectMaze (RECTANGLE_ROWS , RECTANGLE_COLUMNS , SEED_ONE );
142-
143- assertThatMazeHasSinglePath (maze );
144- assertThatMazeHasNoIsolatedSections (maze );
145- }
146-
147147 @ Disabled ("Remove to run test" )
148148 @ Test
149149 @ DisplayName ("Throws when rows are less than five" )
0 commit comments