mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-13 23:46:33 +08:00
fix: make tests static
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -56,7 +56,7 @@ void print(uint32_t N, const std::vector<bool> &is_prime) {
|
||||
/**
|
||||
* Test implementations
|
||||
*/
|
||||
void tests() {
|
||||
static void tests() {
|
||||
// 0 1 2 3 4 5 6 7 8
|
||||
// 9 10
|
||||
std::vector<bool> ans{false, false, true, true, false, true,
|
||||
|
||||
Reference in New Issue
Block a user