Skip to content

Commit 0bfbe5b

Browse files
committed
Fix formatting in GCD tests
1 parent 742bcc7 commit 0bfbe5b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,7 @@ void testArrayInputGcd() {
5252

5353
@Test
5454
void testArrayWithCommonFactor() {
55-
Assertions.assertEquals(
56-
5,
57-
GCD.gcd(new int[] {
58-
2 * 3 * 5 * 7,
59-
2 * 5 * 5 * 5,
60-
2 * 5 * 11,
61-
5 * 5 * 5 * 13
62-
})
63-
);
55+
Assertions.assertEquals(5, GCD.gcd(new int[] {2 * 3 * 5 * 7, 2 * 5 * 5 * 5, 2 * 5 * 11, 5 * 5 * 5 * 13}));
6456
}
6557

6658
@Test

0 commit comments

Comments
 (0)