Skip to content

Commit ebe5c5a

Browse files
author
Alex Klymenko
committed
refactor: removing main methods because tests were introduced
1 parent b8cefcb commit ebe5c5a

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/main/java/com/thealgorithms/datastructures/dynamicarray/DynamicArray.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -201,19 +201,4 @@ public void forEachRemaining(Consumer<? super E> action) {
201201
}
202202
}
203203
}
204-
205-
public static void main(String[] args) {
206-
DynamicArray<String> names = new DynamicArray<>();
207-
names.add("Alice");
208-
names.add("Bob");
209-
210-
names.forEach(System.out::println);
211-
System.out.println(names);
212-
213-
System.out.println("Size: " + names.getSize());
214-
215-
names.remove(0);
216-
217-
names.forEach(System.out::println);
218-
}
219204
}

0 commit comments

Comments
 (0)