Skip to content

Commit 0012b7a

Browse files
committed
Commit
1 parent 6cdc4c6 commit 0012b7a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/test/java/com/thealgorithms/maths/PascalTriangleTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import static org.junit.jupiter.api.Assertions.*;
77

8-
class ArrayLeftRotationTest {
8+
class PascalTriangleTest {
99

1010
@Test
1111
void testForOne()

src/test/java/com/thealgorithms/others/ArrayLeftRotationTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,21 @@ void testForOneElement() {
1212
int[] result = ArrayLeftRotation.rotateLeft(arr, 3);
1313
assertArrayEquals(arr, result);
1414
}
15-
15+
1616
@Test
1717
void testForZeroStep() {
1818
int[] arr = {3, 1, 5, 8, 6};
1919
int[] result = ArrayLeftRotation.rotateLeft(arr, 0);
2020
assertArrayEquals(arr, result);
2121
}
22-
22+
2323
@Test
2424
void testForEqualSizeStep() {
2525
int[] arr = {3, 1, 5, 8, 6};
2626
int[] result = ArrayLeftRotation.rotateLeft(arr, 5);
2727
assertArrayEquals(arr, result);
2828
}
29-
29+
3030
@Test
3131
void testForLowerSizeStep() {
3232
int[] arr = {3, 1, 5, 8, 6};
@@ -35,7 +35,7 @@ void testForLowerSizeStep() {
3535
int[] result = ArrayLeftRotation.rotateLeft(arr, n);
3636
assertArrayEquals(expected, result);
3737
}
38-
38+
3939
@Test
4040
void testForHigherSizeStep() {
4141
int[] arr = {3, 1, 5, 8, 6};
@@ -45,4 +45,4 @@ void testForHigherSizeStep() {
4545
assertArrayEquals(expected, result);
4646
}
4747

48-
}
48+
}

0 commit comments

Comments
 (0)