Skip to content

Commit 0be3e80

Browse files
committed
add code to run the countDuplicateCharacters() method in the main() method
1 parent 32c4065 commit 0be3e80

File tree

3 files changed

+70
-7
lines changed

3 files changed

+70
-7
lines changed

.idea/workspace.xml

Lines changed: 67 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/java/io/github/dbc/Main.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
public class Main {
44
public static void main(String[] args) {
5-
System.out.println("Hello world!");
5+
DuplicateCharactersCounter counter = new DuplicateCharactersCounter();
6+
var duplicateCharacters = counter.countDuplicateCharacters("abcdefghijklmnopqrstuvwxyz");
7+
System.out.println(duplicateCharacters);
68
}
79
}

src/test/java/io/github/dbc/DuplicateCharactersCounterTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import org.junit.jupiter.api.Test;
77

88
class DuplicateCharactersCounterTest {
9-
109
private DuplicateCharactersCounter counter;
1110

1211
@BeforeEach

0 commit comments

Comments
 (0)