1010public class SimpleLinkedListTest {
1111
1212 @ Test
13- @ DisplayName ("A new list is empty with size zero " )
13+ @ DisplayName ("A new list is empty" )
1414 public void aNewListIsEmpty () {
1515 SimpleLinkedList <Integer > list = new SimpleLinkedList <>();
1616 assertThat (list .size ()).isEqualTo (0 );
1717 }
1818
1919 @ Disabled ("Remove to run test" )
2020 @ Test
21- @ DisplayName ("Create list from array sets correct size " )
21+ @ DisplayName ("Create list from array" )
2222 public void canCreateFromArray () {
2323 Character [] values = new Character []{'1' , '2' , '3' };
2424 SimpleLinkedList <Character > list = new SimpleLinkedList <Character >(values );
@@ -67,7 +67,7 @@ public void reverseReversesList() {
6767
6868 @ Disabled ("Remove to run test" )
6969 @ Test
70- @ DisplayName ("Convert list to array returns correct element order " )
70+ @ DisplayName ("Can return list as an array " )
7171 public void canReturnListAsArray () {
7272 SimpleLinkedList <Character > list = new SimpleLinkedList <Character >();
7373 list .push ('9' );
@@ -81,7 +81,7 @@ public void canReturnListAsArray() {
8181
8282 @ Disabled ("Remove to run test" )
8383 @ Test
84- @ DisplayName ("Empty list as array returns empty array" )
84+ @ DisplayName ("Can return empty list as an empty array" )
8585 public void canReturnEmptyListAsEmptyArray () {
8686 SimpleLinkedList <Object > list = new SimpleLinkedList <Object >();
8787 Object [] expected = {};
0 commit comments