We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b1e3fb commit 81d408fCopy full SHA for 81d408f
src/test/java/com/thealgorithms/datastructures/dynamicarray/DynamicArrayTest.java
@@ -27,7 +27,6 @@ public void testGetElement() {
27
assertEquals("Bob", array.get(1));
28
}
29
30
-
31
@Test
32
public void testGetInvalidIndex() {
33
assertThrows(IndexOutOfBoundsException.class, () -> array.get(-1));
@@ -86,7 +85,6 @@ public void testPutAndDynamicCapacity() {
86
85
assertEquals(3, array.getSize()); // Size should be 3 due to index 2
87
88
89
90
91
public void testRemoveElement() {
92
array.add("Alice");
0 commit comments