Skip to content

Commit dcc5502

Browse files
committed
Handled more testcase clang
1 parent 4dd6b30 commit dcc5502

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
package com.thealgorithms.others;
22

3-
import java.math.BigInteger;
4-
import org.junit.jupiter.api.Test;
53
import static org.junit.jupiter.api.Assertions.assertEquals;
64
import static org.junit.jupiter.api.Assertions.assertNotNull;
75
import static org.junit.jupiter.api.Assertions.assertNull;
86

7+
import java.math.BigInteger;
8+
import org.junit.jupiter.api.Test;
9+
910
public class ShorAlgorithmTest {
10-
1111
@Test
1212
public void testFactorizationOfEvenNumber() {
1313
ShorAlgorithm shor = new ShorAlgorithm();
@@ -16,7 +16,7 @@ public void testFactorizationOfEvenNumber() {
1616

1717
assertNotNull(factors, "Factors should not be null for composite numbers.");
1818
assertEquals(2, factors.length, "There should be two factors.");
19-
19+
2020
BigInteger p = factors[0];
2121
BigInteger q = factors[1];
2222

0 commit comments

Comments
 (0)