11import org .junit .jupiter .api .BeforeEach ;
22import org .junit .jupiter .api .Disabled ;
3+ import org .junit .jupiter .api .DisplayName ;
34import org .junit .jupiter .api .Test ;
45
56import static org .assertj .core .api .Assertions .assertThat ;
@@ -14,12 +15,14 @@ public void setUp() {
1415 }
1516
1617 @ Test
18+ @ DisplayName ("empty spiral" )
1719 public void testEmptySpiral () {
1820 assertThat (spiralMatrixBuilder .buildMatrixOfSize (0 )).isEmpty ();
1921 }
2022
2123 @ Disabled ("Remove to run test" )
2224 @ Test
25+ @ DisplayName ("trivial spiral" )
2326 public void testTrivialSpiral () {
2427 int [][] expected = {
2528 {1 }
@@ -30,6 +33,7 @@ public void testTrivialSpiral() {
3033
3134 @ Disabled ("Remove to run test" )
3235 @ Test
36+ @ DisplayName ("spiral of size 2" )
3337 public void testSpiralOfSize2 () {
3438 int [][] expected = {
3539 {1 , 2 },
@@ -41,6 +45,7 @@ public void testSpiralOfSize2() {
4145
4246 @ Disabled ("Remove to run test" )
4347 @ Test
48+ @ DisplayName ("spiral of size 3" )
4449 public void testSpiralOfSize3 () {
4550 int [][] expected = {
4651 {1 , 2 , 3 },
@@ -53,6 +58,7 @@ public void testSpiralOfSize3() {
5358
5459 @ Disabled ("Remove to run test" )
5560 @ Test
61+ @ DisplayName ("spiral of size 4" )
5662 public void testSpiralOfSize4 () {
5763 int [][] expected = {
5864 { 1 , 2 , 3 , 4 },
@@ -66,6 +72,7 @@ public void testSpiralOfSize4() {
6672
6773 @ Disabled ("Remove to run test" )
6874 @ Test
75+ @ DisplayName ("spiral of size 5" )
6976 public void testSpiralOfSize5 () {
7077 int [][] expected = {
7178 { 1 , 2 , 3 , 4 , 5 },
0 commit comments