Skip to content

Commit bbfafa2

Browse files
committed
Fix
1 parent 57ec0a9 commit bbfafa2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/test/java/com/thealgorithms/datastructures/lists/SortedLinkedListTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,12 @@ public void testIsEmptyOnNonEmptyList() {
116116
assertFalse(list.isEmpty());
117117
}
118118

119+
@Test
120+
public void testIsEmptyAfterInsertion() {
121+
list.insert(10);
122+
assertFalse(list.isEmpty());
123+
}
124+
119125
@Test
120126
public void testIsEmptyAfterDeletion() {
121127
list.insert(10);

0 commit comments

Comments
 (0)