We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1b4566 commit fad74e8Copy full SHA for fad74e8
math/fibonacci_matrix_exponentiation.cpp
@@ -88,7 +88,7 @@ uint64_t fibo(uint64_t n, uint64_t mod) {
88
/**
89
* Function to test above algorithm
90
*/
91
-void test() {
+static void test() {
92
assert(fibo(6, 1000000007) == 8);
93
std::cout << "test case:1 passed\n";
94
assert(fibo(5, 1000000007) == 5);
0 commit comments