File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
src/test/java/com/thealgorithms/datastructures/dynamicarray Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -255,6 +255,7 @@ public void testCapacityDoubling() {
255255 assertEquals (3 , array .getSize ());
256256 assertEquals ("Charlie" , array .get (2 ));
257257 }
258+
258259 @ Test
259260 public void testContains () {
260261 DynamicArray <Integer > array = new DynamicArray <>();
@@ -266,12 +267,12 @@ public void testContains() {
266267 assertFalse (array .contains (5 ));
267268 }
268269
269- @ Test
270- public void testContainsWithNull () {
271- DynamicArray <String > array = new DynamicArray <>();
272- array .add (null );
270+ @ Test
271+ public void testContainsWithNull () {
272+ DynamicArray <String > array = new DynamicArray <>();
273+ array .add (null );
273274
274- assertTrue (array .contains (null ));
275- }
275+ assertTrue (array .contains (null ));
276+ }
276277
277278}
You can’t perform that action at this time.
0 commit comments