Skip to content

Commit 0b2c39e

Browse files
committed
remove main
1 parent 1b6981a commit 0b2c39e

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

src/main/java/com/thealgorithms/matrix/matrixexponentiation/Fibonacci.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,4 @@ public static BigDecimal[][] fib(int n) {
4242
}
4343
}
4444
}
45-
46-
public static void main(String[] args) {
47-
// Returns [0, 1, 1, 2, 3, 5 ..] for n = [0, 1, 2, 3, 4, 5.. ]
48-
Scanner sc = new Scanner(System.in);
49-
int n = sc.nextInt();
50-
BigDecimal[][] result = MatrixUtil.multiply(fib(n), BASE_FIB_NUMBERS).get();
51-
sc.close();
52-
}
5345
}

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
package com.thealgorithms.maths;
22

3-
import java.util.List;
4-
53
import static org.junit.jupiter.api.Assertions.assertEquals;
64
import static org.junit.jupiter.api.Assertions.assertThrows;
7-
import org.junit.jupiter.api.Test;
85

96
import com.thealgorithms.maths.Prime.SquareFreeInteger;
7+
import java.util.List;
8+
import org.junit.jupiter.api.Test;
109

1110
class SquareFreeIntegerTest {
1211

0 commit comments

Comments
 (0)