flatten 20260225
This commit is contained in:
21
tjp/core/testing/catch.hpp
Normal file
21
tjp/core/testing/catch.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
// License: Modified MIT (NON-AI)
|
||||
// See the LICENSE file in the root directory for license information.
|
||||
// Copyright 2025 Timothy Prepscius
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "catch2.hpp"
|
||||
#include "../string/to_string.hpp"
|
||||
|
||||
extern int CATCH2_REPEAT_TEST_QUANTITY;
|
||||
|
||||
#define REPEAT_TEST() \
|
||||
for (auto i=0; i<CATCH2_REPEAT_TEST_QUANTITY; ++i) \
|
||||
GIVEN("repeat " + core::to_string(i))
|
||||
|
||||
|
||||
namespace tjp::core::testing {
|
||||
|
||||
void setup_kill_childprocesses_on_exit();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user