Skip to content

Commit fad74e8

Browse files
fix: make tests static
Co-authored-by: David Leal <[email protected]>
1 parent d1b4566 commit fad74e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

math/fibonacci_matrix_exponentiation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ uint64_t fibo(uint64_t n, uint64_t mod) {
8888
/**
8989
* Function to test above algorithm
9090
*/
91-
void test() {
91+
static void test() {
9292
assert(fibo(6, 1000000007) == 8);
9393
std::cout << "test case:1 passed\n";
9494
assert(fibo(5, 1000000007) == 5);

0 commit comments

Comments
 (0)