Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita84d8d9

Browse files
committed
Corrected imports
Autocorrected import orderaccording to Clang's wishes
1 parent34fdc90 commita84d8d9

File tree

9 files changed

+36
-41
lines changed

9 files changed

+36
-41
lines changed

‎src/test/java/com/thealgorithms/ciphers/MyAESTest.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
importstaticorg.junit.jupiter.api.Assertions.assertNotEquals;
66

77
importjava.math.BigInteger;
8-
98
importorg.junit.jupiter.api.Test;
109

1110
publicclassMyAESTest {

‎src/test/java/com/thealgorithms/ciphers/MyCaesarTest.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
packagecom.thealgorithms.ciphers;
22

3-
importorg.junit.jupiter.api.Test;
4-
53
importstaticorg.junit.jupiter.api.Assertions.assertEquals;
64

5+
importorg.junit.jupiter.api.Test;
6+
77
publicclassMyCaesarTest {
88
privatefinalCaesarcaesar =newCaesar();
99

‎src/test/java/com/thealgorithms/ciphers/MyPlayfairCipherTest.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
packagecom.thealgorithms.ciphers;
22

3+
importstaticorg.junit.jupiter.api.Assertions.assertEquals;
4+
35
importorg.junit.jupiter.api.BeforeEach;
46
importorg.junit.jupiter.api.Test;
57

6-
importstaticorg.junit.jupiter.api.Assertions.assertEquals;
7-
88
publicclassMyPlayfairCipherTest {
99
privatePlayfairCipherplayfair;
1010
privatefinalStringkeyword ="KEYWORD";

‎src/test/java/com/thealgorithms/datastructures/trees/AVLSimpleTest.java‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
packagecom.thealgorithms.datastructures.trees;
22

3-
importcom.thealgorithms.utils.ConsoleInterceptor;
3+
importstaticorg.junit.jupiter.api.Assertions.assertEquals;
4+
5+
importcom.thealgorithms.devutils.ConsoleInterceptor;
6+
importjava.util.stream.Stream;
47
importorg.junit.jupiter.api.AfterEach;
58
importorg.junit.jupiter.api.BeforeEach;
69
importorg.junit.jupiter.api.Disabled;
@@ -10,10 +13,6 @@
1013
importorg.junit.jupiter.params.provider.Arguments;
1114
importorg.junit.jupiter.params.provider.MethodSource;
1215

13-
importjava.util.stream.Stream;
14-
15-
importstaticorg.junit.jupiter.api.Assertions.assertEquals;
16-
1716
publicclassAVLSimpleTest {
1817
AVLSimpletree =newAVLSimple();
1918
ConsoleInterceptorinterceptor =newConsoleInterceptor();

‎src/test/java/com/thealgorithms/datastructures/trees/GenericTreeTest.java‎

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
packagecom.thealgorithms.datastructures.trees;
22

3-
importcom.thealgorithms.utils.ConsoleInterceptor;
4-
importorg.junit.jupiter.api.AfterEach;
5-
importorg.junit.jupiter.api.BeforeEach;
6-
importorg.junit.jupiter.api.Test;
7-
importorg.junit.jupiter.params.ParameterizedTest;
8-
importorg.junit.jupiter.params.provider.ValueSource;
9-
10-
importjava.util.InputMismatchException;
11-
123
importstaticorg.junit.jupiter.api.Assertions.assertDoesNotThrow;
134
importstaticorg.junit.jupiter.api.Assertions.assertEquals;
145
importstaticorg.junit.jupiter.api.Assertions.assertFalse;
156
importstaticorg.junit.jupiter.api.Assertions.assertThrows;
167
importstaticorg.junit.jupiter.api.Assertions.assertTrue;
178

9+
importcom.thealgorithms.devutils.ConsoleInterceptor;
10+
importjava.util.InputMismatchException;
11+
importorg.junit.jupiter.api.AfterEach;
12+
importorg.junit.jupiter.api.BeforeEach;
13+
importorg.junit.jupiter.api.Test;
14+
importorg.junit.jupiter.params.ParameterizedTest;
15+
importorg.junit.jupiter.params.provider.ValueSource;
16+
1817
publicclassGenericTreeTest {
1918
GenericTreetree;
2019
ConsoleInterceptorinterceptor =newConsoleInterceptor();

‎src/test/java/com/thealgorithms/datastructures/trees/LCATest.java‎

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
packagecom.thealgorithms.datastructures.trees;
22

3-
importcom.thealgorithms.utils.ConsoleInterceptor;
3+
importstaticorg.junit.jupiter.api.Assertions.assertAll;
4+
importstaticorg.junit.jupiter.api.Assertions.assertArrayEquals;
5+
importstaticorg.junit.jupiter.api.Assertions.assertEquals;
6+
7+
importcom.thealgorithms.devutils.ConsoleInterceptor;
8+
importjava.lang.reflect.Method;
9+
importjava.util.ArrayList;
10+
importjava.util.stream.Stream;
411
importorg.junit.jupiter.api.BeforeEach;
512
importorg.junit.jupiter.api.Disabled;
613
importorg.junit.jupiter.api.DisplayName;
@@ -10,14 +17,6 @@
1017
importorg.junit.jupiter.params.provider.CsvSource;
1118
importorg.junit.jupiter.params.provider.MethodSource;
1219

13-
importjava.lang.reflect.Method;
14-
importjava.util.ArrayList;
15-
importjava.util.stream.Stream;
16-
17-
importstaticorg.junit.jupiter.api.Assertions.assertAll;
18-
importstaticorg.junit.jupiter.api.Assertions.assertArrayEquals;
19-
importstaticorg.junit.jupiter.api.Assertions.assertEquals;
20-
2120
publicclassLCATest {
2221
/**
2322
* This input creates the following tree:

‎src/test/java/com/thealgorithms/utils/ConsoleInterceptor.java‎renamed to ‎src/test/java/com/thealgorithms/devutils/ConsoleInterceptor.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
packagecom.thealgorithms.utils;
1+
packagecom.thealgorithms.devutils;
22

33
importjava.io.ByteArrayInputStream;
44
importjava.io.ByteArrayOutputStream;

‎src/test/java/com/thealgorithms/maths/MathBuilderTest.java‎

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
packagecom.thealgorithms.maths;
22

3-
importorg.junit.jupiter.api.DisplayName;
4-
importorg.junit.jupiter.api.Test;
5-
importorg.junit.jupiter.params.ParameterizedTest;
6-
importorg.junit.jupiter.params.provider.Arguments;
7-
importorg.junit.jupiter.params.provider.MethodSource;
8-
9-
importjava.util.List;
10-
113
importstaticorg.junit.jupiter.api.Assertions.assertAll;
124
importstaticorg.junit.jupiter.api.Assertions.assertArrayEquals;
135
importstaticorg.junit.jupiter.api.Assertions.assertDoesNotThrow;
@@ -16,6 +8,13 @@
168
importstaticorg.junit.jupiter.api.Assertions.assertThrows;
179
importstaticorg.junit.jupiter.api.Assertions.assertTrue;
1810

11+
importjava.util.List;
12+
importorg.junit.jupiter.api.DisplayName;
13+
importorg.junit.jupiter.api.Test;
14+
importorg.junit.jupiter.params.ParameterizedTest;
15+
importorg.junit.jupiter.params.provider.Arguments;
16+
importorg.junit.jupiter.params.provider.MethodSource;
17+
1918
classMathBuilderTest {
2019

2120
@Test

‎src/test/java/com/thealgorithms/maths/RomanNumeralUtilTest.java‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
packagecom.thealgorithms.maths;
22

3-
importorg.junit.jupiter.api.Test;
4-
importorg.junit.jupiter.params.ParameterizedTest;
5-
importorg.junit.jupiter.params.provider.CsvSource;
6-
73
importstaticorg.junit.jupiter.api.Assertions.assertDoesNotThrow;
84
importstaticorg.junit.jupiter.api.Assertions.assertEquals;
95
importstaticorg.junit.jupiter.api.Assertions.assertThrows;
106

7+
importorg.junit.jupiter.api.Test;
8+
importorg.junit.jupiter.params.ParameterizedTest;
9+
importorg.junit.jupiter.params.provider.CsvSource;
10+
1111
classRomanNumeralUtilTest {
1212
@ParameterizedTest()
1313
@CsvSource({

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp