Add TestContext::runPart2 for tests that are only valid for part 2 of a puzzle

This commit is contained in:
2025-02-17 15:23:05 +01:00
parent ce77b2354c
commit f3682a46a9
2 changed files with 11 additions and 0 deletions

View File

@@ -26,6 +26,8 @@ class TestContext
public:
void run(const std::unique_ptr<Solver>&& solver, const long long int expected1, const long long int expected2,
const std::vector<std::string>& inputPaths);
void runPart2(const std::unique_ptr<Solver>&& solver, const long long int expected,
const std::vector<std::string>& inputPaths);
std::vector<std::string> getInputPaths() const;
std::vector<std::string> getExampleInputPaths() const;
};