stuff-from-scratch/test/test_utils/TestCaseRunner.h
2021-09-26 21:42:35 +01:00

19 lines
306 B
C++

#pragma once
#include "TestCase.h"
#include <vector>
#include <string>
class TestCaseRunner
{
public:
void AddTestCase(const std::string& label, TestCasePtr testCase);
bool Run();
private:
using TestInstance = std::pair<std::string, TestCasePtr>;
std::vector<TestInstance> mCases;
};