fix: make tests static

Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
realstealthninja
2024-09-05 05:13:16 +05:30
committed by GitHub
parent fad74e89dc
commit f063687892

View File

@@ -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,